exit-code
`process.exitCode` behavior back-ported from io.js and Node.js 0.12+
Last updated 11 years ago by isaacs .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (11 years ago)

2 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |