Search results
118 packages found
a simple utility for validating types, such as strings, numbers, arrays, functions and so on
strong and flexible runtime typechecking that's just javascript with types that are fully serializable
A library of type checking utilities.
various classification, validation and utility functions
Pass in `arguments` and an array of the expected types (as string descriptions) and throw if they don't match.
A tiny type checker
Helps you deny the existence of specified truthy values (e.g. 'someString', aParticularObject)
TypeGuru is a lightweight TypeScript utility library for type checking. It includes utility functions for checking object literals, plain objects, specific types, and more.
Helps you confirm the existence of specified falsy values (e.g. 0)
Simple helpers to ensure uncertain interfaces in typescript
- type
- types
- type-check
- type-checking
- interface
- interfaces
- interface-check
- interface-checking
- data
- contract
- safe
- safety
Type checking utilities.
filter objects to save bandwidth and catch errors, powered by type-by-example
Concise and expressive runtime type checking.
check the data type or change the data type
A featureful function parameters signature module
Easy but powerful enums for safer code. e.g. const Fruit = new Enum("apple pear banana"); gives you Fruit.apple, Fruit.has("apple"), and Fruit.$apple() (as a fail-fast value), whilst Fruit.isApple('penguin') will throw an error.
An object-oriented programming language
Babel plugin for runtime type-checking in JavaScript
Babel macro that automatically generates an array of keys from a given object type