lazy-ass

Lazy assertions without performance penalty
v2.0.3 URL: https://unpkg.com/lazy-ass@2.0.3/dist/index.js
OpenBrowse Files
assertionassertionsbrowserdebuggingdefensivelazynode

@nivinjoseph/n-defensive

Defensive programming library
v2.0.1 URL: https://unpkg.com/@nivinjoseph/n-defensive@2.0.1/dist/index.js
OpenBrowse Files
defensiveprogramming

hazmat

Validation and sanitization of input parameters
v0.1.4 URL: https://unpkg.com/hazmat@0.1.4/lib/hazmat.js
OpenBrowse Files
validatevalidatorvalidationdefensivecontractassertsanitize

offensive

Fast and boilerplate-free precondition checks for javascript.
v3.6.0 URL: https://unpkg.com/offensive@3.6.0/index.js
OpenBrowse Files
contractpreconditionpostconditioninvariantoffensivedefensiveprogrammingduck-typingcrash earlyfail fastreadableboilerplatedslbrowserifywebpacktypescript

fetch-prop

A handy utility for defensively extracting props from objects
v1.0.0 URL: https://unpkg.com/fetch-prop@1.0.0/index.js
OpenBrowse Files
fetchPropfetch_propfetchproppropertypropspropertiesobjectdefensivesafeassert