npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

code-to-signal

1.0.2

@bcoe

npmHomeRepoSnykSocket
Downloads:6
$ npm install code-to-signal
DailyWeeklyMonthlyYearly

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