nullthrows

1.1.1last stable release 6 years ago
Complexity Score
Low
Open Issues
17
Dependent Projects
326
Weekly Downloadsglobal
4,824,545

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

nullthrows

A flow typed utility that accepts value (e.g. nullthrows(value)) and throws if value is null or undefined, otherwise it returns value.

Also see invariant.

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
1.90
Test Coverage
No Data
Follows Semver
Yes
Github Stars
17
Dependenciestotal
4
DependenciesOutdated
3
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute nullthrows in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install nullthrows
Processing...
Done

6 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.