Package Exports
- run-time-assertions
- run-time-assertions/dist/cjs/index.js
- run-time-assertions/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (run-time-assertions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
run-time-assertions
Type safe assertions that work just as well in production run-times (both frontend and backend) as they do in testing with 100% test coverage.
Docs: https://electrovir.github.io/run-time-assertions
For example, here are some functions that this package exports:
assertThrows
isInstanceOf
isDefined
diffObjects
assertRunTimeType
- and many more
install
npm i run-time-assertions