run-time-assertions
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

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

Package Sidebar

Install

npm i run-time-assertions

Weekly Downloads

13,401

Version

1.5.1

License

(MIT or CC0 1.0)

Unpacked Size

71.8 kB

Total Files

46

Last publish

Collaborators

  • electrovir