Search results
101 packages found
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
A simple TypeScript library providing type guards for the primitive types in JavaScript.
- type
- types
- type-check
- type-checks
- type-checking
- predicate
- predicates
- type-predicate
- type-predicates
- type-assert
- type-asserting
- type-assertion
- type-assertions
- type-guard
- View more
ts-guard is a typescript library that provides composable type guards. Its inspired by zod but focusses only on type guards and is more lightweight.
Type predicate functions for checking if a value is of a specific type or asserting that it is.
The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.
A standard set of errors and methods for simpler, safer, and easier to read code.
TypeScript predicates library
A set of types, type checks, and type guards for simpler, safer, and easier to read code.
Personal common used types, type guards and other to quickly jumpstart a new project or experiment
A few reliable utils.
TypeScript predicates library
This module allows you to quickly and safely validate variables against a defined template, enforced by Typescript. No hassle and easy to scan.
A configurable defensive programming utility to guard against non-date values
A configurable defensive programming utility to guard against non-array values
A configurable defensive programming utility to guard against non-object values
A configurable defensive programming utility to guard against non-numeric values
A configurable defensive programming utility to guard against non-POJO values
A configurable defensive programming utility to guard against non-function values
A configurable defensive programming utility to guard against non-float values
A configurable defensive programming utility to guard against non-integer values