Skip to content

Pragmatic runtime type checking for JavaScript

License

Notifications You must be signed in to change notification settings

bluespeckfinancial/tcomb

 
 

Repository files navigation

tcomb is a library for Node.js and the browser which allows you to check the types of JavaScript values at runtime with a simple syntax. It's great for Domain Driven Design and for adding safety to your internal code.

Site and documentation

https://gcanti.github.io/tcomb

Features

  • write complex domain models in a breeze and with a small code footprint
  • easy debugging
  • instances are immutables by default
  • encodes/decodes domain models to/from JSON for free
  • type reflection at runtime

Contributors

License

The MIT License (MIT)

About

Pragmatic runtime type checking for JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%