Search results

39 packages found

A simple library for implementing type guard in TypeScript.

published version 0.5.3, 3 years ago5 dependents licensed under $MIT
101,926

Generic type guards for TypeScript

published version 5.0.2, 3 months ago15 dependents licensed under $MPL-2.0
30,112

Typescript package boilerplate template

published version 2.1.2, a year ago3 dependents licensed under $MIT
3,500

Collection of validation functions for JavaScript data

published version 1.5.0, 2 years ago29 dependents licensed under $MIT
2,666

TypeScript predicates and assertions library

published version 1.1.4, a year ago0 dependents licensed under $MIT
2,042

TypeScript utilities

published version 1.14.0, 10 months ago16 dependents licensed under $MIT
849

Type-guards, casts and converts unknowns into typed values

published version 0.5.2, 8 months ago1 dependents licensed under $MIT
813

TypeScript predicates library

published version 6.1.0, 10 days ago4 dependents licensed under $MIT
478

Simple typechecker for custom type guards

published version 0.3.4, 4 months ago1 dependents licensed under $MIT
275

Generic type guard to check if a given value is a member of enum

published version 1.0.1, 3 years ago0 dependents licensed under $MIT
221

Just function to predicate non nullable with type guard.

published version 1.0.2, 3 years ago0 dependents licensed under $MIT
177

TypeScript type guard utilities providing runtime type checking and validation with zero dependencies

published version 1.0.0, 9 days ago3 dependents licensed under $MIT
152

A simple TypeScript library providing type guards for the primitive types in JavaScript.

published version 2.1.4, 10 months ago1 dependents licensed under $MIT
89

A modern TypeScript library designed to reduce boilerplate for tagged unions, also known as discriminated unions. This library is also an implementation of algebraic data types

published version 1.2.1, a year ago0 dependents licensed under $CC0-1.0
59

Nullish helper functions and types for TypeScript.

published version 0.2.0, 3 years ago2 dependents licensed under $MIT
45

Predicate helper functions and types for TypeScript.

published version 0.2.0, 3 years ago2 dependents licensed under $MIT
43

Falsy helper functions and types for TypeScript.

published version 0.2.0, 3 years ago2 dependents licensed under $MIT
40

Typescript package boilerplate template

published version 2.0.6, 2 years ago0 dependents licensed under $MIT
39

TypeScript predicates library

published version 2.4.0, a year ago0 dependents licensed under $MIT
32

Typescript library for typesafe creation of validation functions and type guards.

published version 0.0.7, 7 years ago0 dependents licensed under $MIT
20