exit-code

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

ISC 2 个版本
安装
npm install exit-code
yarn add exit-code
pnpm add exit-code
bun add exit-code
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
版本列表
1.0.2 2015-05-03
1.0.1 2015-04-25