process.name

From SmartBots Developers Docs
Jump to: navigation, search

Read-only property reflecting running script name.

console.log(process.name);