JSPM

exit-code

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 54123
  • Score
    100M100P100Q143865F
  • License ISC

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

Package Exports

  • exit-code

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (exit-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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