sindresorhus / awesome-nodejs

:zap: Delightful Node.js packages and resources
https://node.cool
Creative Commons Zero v1.0 Universal
57.56k stars 5.81k forks source link

Add `human-signals` #1182

Closed ehmicky closed 2 years ago

ehmicky commented 2 years ago

This adds human-signals. This library allows translating signal names (like SIGINT) to human-friendly descriptions (like User interruption with CTRL-C). It also exposes some additional information for each signal (number, OS support, default action, etc.).


By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. :vulcan_salute:

:arrow_up::arrow_up::arrow_up::arrow_up::arrow_up::arrow_up::arrow_up::arrow_up::arrow_up:

sindresorhus commented 2 years ago

It's a useful package, but I don't think it's something most developers would need. It's mostly useful as a low-level building block in reusable packages, for example, in execa.

ehmicky commented 2 years ago

Makes sense. Thanks for the feedback! :+1: