npm.io
1.0.2 • Published 11 years ago

exit-code

Licence
ISC
Version
1.0.2
Deps
0
Vulns
0
Weekly
0
Stars
14

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