exit-code
`process.exitCode` behavior back-ported from io.js and Node.js 0.12+
Last updated 12 years ago by isaacs .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install exit-code 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (12 years ago)

2 Versions

  • 1.0.2                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Total 8
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE