node-machine

node-machine/rttc

Runtime type-checking for JavaScript.

JavaScript
25
4
No license

# RTTC Runtime type-checking for JavaScript. This package provides a lightweight type system for JavaScript that allows developers to add type guarantees to their code on an as-needed basis without requiring changes to their development stack or build tools. It builds on existing JavaScript data structures and concepts to validate and coerce data at runtime, making it particularly useful for team development where data type mismatches can lead to errors. The system includes methods for validation, coercion, and type inference, supporting 10 different data types including strings, numbers, booleans, functions, dictionaries, arrays, and more. It's designed to work recursively, allowing deep traversal of nested objects and arrays while providing sensible default values when coercion fails.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of node-machine/rttc

Account's avatar
A fork of Lodash 3.10.x with ongoing maintenance from the Sails core team.
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on node-machine/rttc

Top contributors

mikermcneil's profile
mikermcneil
600 contributions
sgress454's profile
sgress454
15 contributions
rachaelshaw's profile
rachaelshaw
5 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet