exit-code

`process.exitCode` behavior back-ported from io.js and Node.js 0.12+

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
exit-code
1401.0.28 years ago8 years agoMinified + gzip package size for exit-code in KB

Readme

exit-code
process.exitCode behavior back-ported from io.js and Node.js 0.12+

USAGE

require('exit-code')

process.exitCode = 2

// do some other stuff
// when the process exits, it'll do it with a code of 2