overlookmotel

overlookmotel/simple-invariant

Super-simple invariant function

JavaScript
0
0
MIT License

The **simple‑invariant** package provides a minimal assertion helper for Node.js (and browsers) that throws an `Error` when a condition is falsy, letting developers replace verbose `if (!cond) throw …` checks with a concise `invariant(cond, message)` call. It’s aimed at JavaScript developers who want a tiny, production‑safe invariant function (unlike some alternatives that strip messages in production) and works with all actively maintained Node versions.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of overlookmotel/simple-invariant

Account's avatar
@overlookmotel's ESLint config
Account's avatar
@overlookmotel's ESLint config for tests with jest
Account's avatar
@overlookmotel's ESLint config for NodeJS
Account's avatar
Run scripts that set and use environment variables across platforms
Account's avatar
Airbnb's base JS ESLint config, following our styleguide
Account's avatar
Additional ESLint rules for ESLint directive comments.
Account's avatar
Additional ESLint's rules for Node.js
Account's avatar
Delightful JavaScript Testing.

Support the repos that depend on this repository

Top contributors

overlookmotel's profile
overlookmotel
12 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet