process.name

Read-only property reflecting the name of the currently running script.

console.log(process.name);

Comments

Useful for debugging or logging which script instance is currently executing,
especially when multiple scripts are running simultaneously.