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
Package Sidebar
Install
Weekly Downloads