Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: type-guards

mscharley/generic-type-guard

Type safe, composable type guards for TypeScript

Language: TypeScript - Size: 3.44 MB - Last synced: 11 days ago - Pushed: 11 days ago - Stars: 50 - Forks: 3

justinlettau/ts-util-is

TypeScript typeof utility helper with no dependencies.

Language: TypeScript - Size: 340 KB - Last synced: 21 days ago - Pushed: 22 days ago - Stars: 8 - Forks: 2

fibo/minimal-type-guard-helpers

minimal type-guard helpers

Language: TypeScript - Size: 5.86 KB - Last synced: 17 days ago - Pushed: 8 months ago - Stars: 1 - Forks: 0

sniptt-official/guards

🛡 Comprehensive collection of type guards for JavaScript and TypeScript; Inspired by Elixir

Language: TypeScript - Size: 805 KB - Last synced: 20 days ago - Pushed: about 1 year ago - Stars: 165 - Forks: 5

tool-belt/type-predicates

A comprehensive collection of type-guards, type assertions and related utils

Language: TypeScript - Size: 781 KB - Last synced: about 1 month ago - Pushed: 4 months ago - Stars: 55 - Forks: 0

janjakubnanista/ts-type-checked

Runtime duck type checking utilities for TypeScript.

Language: TypeScript - Size: 3.74 MB - Last synced: 8 days ago - Pushed: about 1 year ago - Stars: 84 - Forks: 5

LuciNyan/ts-known

This library offers guards for common types, and methods to generate type guards for specific types quickly. Safely handle unpredictable unknown types with ease.

Language: TypeScript - Size: 107 KB - Last synced: 21 days ago - Pushed: about 1 year ago - Stars: 82 - Forks: 2

codefeathers/runtype

Runtime type assertions that return

Language: TypeScript - Size: 407 KB - Last synced: 10 days ago - Pushed: over 2 years ago - Stars: 4 - Forks: 0

michaelcoxon/utilities

My own collection of utility methods and classes that I feel are missing from JavaScript, also with some other junk thrown in.

Language: TypeScript - Size: 6.62 MB - Last synced: 17 days ago - Pushed: 4 months ago - Stars: 0 - Forks: 0

flex-development/tutils

TypeScript-friendly utilities

Language: TypeScript - Size: 9.43 MB - Last synced: 4 days ago - Pushed: about 1 month ago - Stars: 1 - Forks: 0

deno911/dis

Typechecking with ease.

Language: TypeScript - Size: 140 KB - Last synced: 10 months ago - Pushed: 12 months ago - Stars: 1 - Forks: 0

socialaccess-network/isa

A simple and lightweight library for creating and validating javascript variables. It is designed to be used with typescript, but can also be used with plain javascript.

Language: TypeScript - Size: 25.1 MB - Last synced: 27 days ago - Pushed: 6 months ago - Stars: 0 - Forks: 0

karol-majewski/refinements

Bulletproof type guards in TypeScript.

Language: TypeScript - Size: 563 KB - Last synced: 13 days ago - Pushed: over 1 year ago - Stars: 5 - Forks: 0

shadow578/type-guardian

functional, composable type guards

Language: TypeScript - Size: 111 KB - Last synced: 2 months ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

buschtoens/combine-type-predicates

Combine user-defined type guards / type predicates as unions and intersections.

Language: TypeScript - Size: 83 KB - Last synced: 15 days ago - Pushed: 6 months ago - Stars: 7 - Forks: 1

dheysonalves/typescript-guide

Typescript general studies with mini-apps with the superset, tuples, generics, decorators, typed annotations, and typed arrays.

Language: TypeScript - Size: 449 KB - Last synced: about 1 year ago - Pushed: over 2 years ago - Stars: 1 - Forks: 0

younho9/not

Type guard based on exclude

Language: TypeScript - Size: 2.93 KB - Last synced: 28 days ago - Pushed: over 2 years ago - Stars: 0 - Forks: 0

younho9/is-interface

Type Guard for interface

Language: JavaScript - Size: 2.93 KB - Last synced: 24 days ago - Pushed: over 2 years ago - Stars: 0 - Forks: 0

matthieubosquet/ts-guards

A collection of basic type guards.

Language: TypeScript - Size: 182 KB - Last synced: 29 days ago - Pushed: over 2 years ago - Stars: 1 - Forks: 1