Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@eropple/exit-codes
Advanced tools
A lookup table of commonly used exit codes in Linux and Unix.
@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.
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.
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
A lookup table of commonly used exit codes in Linux and Unix.
The npm package @eropple/exit-codes receives a total of 1 weekly downloads. As such, @eropple/exit-codes popularity was classified as not popular.
We found that @eropple/exit-codes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.