1.0.2 • Published 8 years ago
code-to-signal v1.0.2
code-to-signal
shim to convert integer exit codes to named signals.
var codeToSignal = require('code-to-signal')
var signal = codeToSignal(132) // signal = 'SIGILL'
API
codeToSignal.shimError(error)
Populate the signal field on an error object that only has an exit code.
License
ISC