c-style assert() for nodejs, reporting the expression string as the error message
Installations
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
*
NPM Version
1.4.9
Score
99.6
Supply Chain
81.6
Quality
77.4
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (95.41%)
Makefile (4.59%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
visionmedia
Download Statistics
Total Downloads
752,971,895
Last Day
127,086
Last Week
588,884
Last Month
2,818,567
Last Year
40,038,035
GitHub Statistics
290 Stars
25 Commits
24 Forks
9 Watching
1 Branches
7 Contributors
Package Meta Information
Latest Version
1.0.2
Package Id
better-assert@1.0.2
Size
2.16 kB
NPM Version
1.4.9
Publised On
21 Nov 2014
Other packages similar to better-assert
@gerhobbelt/better-assert
Better assertions for node, reporting the expr, filename, lineno and custom error messages
@shedevro/assert
Assertion typescript library for better, comfortable and safe coding. See readme!
better-expect
Assert-style excepetion handling for better errors
deep-assert
Better deep-equals object expectations, supporting dynamic bottom-up assertions using any() and satisfies().