isaacs / exit-code

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:ISC License


Languages

Language:JavaScript 100.0%