Skip to content

bcoe/code-to-signal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code-to-signal

Build Status Coverage Status NPM version

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

About

map exit codes on Linux to named signals.

Resources

License

Stars

Watchers

Forks

Packages

No packages published