JSPM

Found 43 results for type-guard

typescanner

A simple library for implementing type guard in TypeScript.

  • v0.5.3
  • 62.86
  • Published

@miyauci/isx

Collection of validation functions for JavaScript data

  • v1.5.0
  • 54.13
  • Published

ts-predicate

TypeScript predicates and assertions library

  • v1.1.4
  • 45.68
  • Published

to-typed

Type-guards, casts and converts unknowns into typed values

  • v0.5.2
  • 43.30
  • Published

result-guard

Type-safe error handling with discriminated unions and type guards for TypeScript

    • v1.2.3
    • 31.06
    • Published

    is-non-nullable

    Just function to predicate non nullable with type guard.

    • v1.0.2
    • 31.00
    • Published

    hi-guardian

    Runtime type guard generator for TypeScript. Create validators for objects, arrays, tuples and unions with automatic type inference. 3x faster than io-ts with zero dependencies.

      • v1.0.4
      • 29.43
      • Published

      is-some-enum

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

      • v1.0.1
      • 27.33
      • Published

      valia

      A runtime data validator in TypeScript with advanced type inference, built-in validation functions, and seamless integration for server and client environments.

      • v2.1.1
      • 26.83
      • Published

      primitive-predicates

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

      • v2.1.4
      • 26.25
      • Published

      @younho9/guards

      A set of type guards for TypeScript

      • v0.7.17
      • 23.52
      • Published

      ts-tagged-union

      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

      • v1.2.1
      • 22.52
      • Published

      safetype

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

      • v0.0.7
      • 19.83
      • Published

      @imhonglu/type-guard

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

      • v1.0.2
      • 19.55
      • Published

      @typeguards/core

      Runtime type checking library for TS & JS

      • v1.1.0
      • 19.34
      • Published

      @bitty/nullish

      Nullish helper functions and types for TypeScript.

      • v0.2.0
      • 19.09
      • Published

      type-guard-pro

      Zero-dependency TypeScript runtime type validation with full type inference

      • v1.0.1
      • 18.35
      • Published

      json-to-typed

      Build to-typed objects from JSON files.

      • v0.2.0
      • 17.33
      • Published

      typeanalyser

      Provides type detection and analysis for ANY Javascript object (including custom types) in any environment, even where native operators falter.

      • v2.0.6
      • 16.51
      • Published

      inferred

      Typescript library to declare type-safe models by inferring model types from their validators.

      • v0.0.10
      • 15.81
      • Published

      @bitty/falsy

      Falsy helper functions and types for TypeScript.

      • v0.2.0
      • 15.28
      • Published

      @bitty/predicate

      Predicate helper functions and types for TypeScript.

      • v0.2.0
      • 15.13
      • Published

      @1k/is

      The definitive JavaScript type testing functions

        • v0.1.8
        • 13.63
        • Published

        defined-type-guard

        A TypeScript Type-Guard for Filtering out undefined Values

        • v1.0.1
        • 13.17
        • Published

        plainp

        Check if a value is a plain object, with TypeGuard.

        • v1.0.0
        • 12.77
        • Published

        @younho9/not

        Type guard based on exclude

        • v0.1.0
        • 12.48
        • Published

        tsertion

        Koa middleware for handling errors.

        • v1.0.0
        • 11.76
        • Published

        is-interface

        Type Guard for interface

        • v0.1.0
        • 10.73
        • Published