Socket
Socket
Sign inDemoInstall

@eropple/exit-codes

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eropple/exit-codes

A lookup table of commonly used exit codes in Linux and Unix.


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@eropple/exit-codes

I am not, by trade, a heckin' cool, plaid-wearing black-rimmed-glassesman of a NodeJS developer†. I spend a lot of my time toiling in the bowels of the computer universe and so I have a certain appreciation--nay, fondness--for doing things in a way that the older, wiser, and oh god have you seen a C program lately-er code running underneath my code can comprehend.

Then I couldn't find an exit codes package for NodeJS (whether due to my own incompetence) or its fundamental nonexistence) and, I tell you this with absolutely no exaggeration whatsoever: a literal exclamation point sprouted from the top of my head as if I was a mook about to get my neck broke in a Metal Gear Solid video game auteured by one Mr. Hideo Kojima.

So I broke out a Ruby interpreter to YOLO out some TypeScript, breaking laws in at least seven jurisdictions I have personally been to in my life, and the results are what lie before you.

Installation

I trust that you know how to install a package named @eropple/exit-codes with your package manager of choice. I apologize for the scoped name; NPM in their infinite wisdom (have you set your stuff on fire today, guys?) decided that exit-codes is not an acceptable name when exit-code exists.

I trust you will be gratified by stomping my name into your codebase. You're welcome.

Usage

import the package. Pass its sweet, sweet constants to process.exit(). Be smug about your correct UNIXing. Or Linuxing, should you be integrating with systemd.

While this is Open Source and Free Software and so I cannot demand your smugness, I can but humbly request it.

† - At this moment I am wearing plaid, but am not wearing black-rimmed glasses because yesterday my monstrously strong but very peaceable dog, in his excitement at the idea of An Treat, delivered unto the temple of my head a headbutt strong enough to snap an acetate frame. I was not even angry. I could only compliment him. And pet his head, for he was very concerned that I was missing a part of my face.

FAQs

Package last updated on 15 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc