code-to-signal
1.0.2 • Public • Published code-to-signal
shim to convert integer exit codes to named signals.
var codeToSignal = require('code-to-signal')
var signal = codeToSignal(132)
API
codeToSignal.shimError(error)
Populate the signal field on an error object that only has
an exit code.
License
ISC
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.2 | 1 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.2 | 1 | |
1.0.1 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads