JSPM

Found 50 results for type-guard

@miyauci/isx

Collection of validation functions for JavaScript data

  • v1.5.0
  • 52.91
  • Published

ts-data-forge

[![npm version](https://img.shields.io/npm/v/ts-data-forge.svg)](https://www.npmjs.com/package/ts-data-forge) [![npm downloads](https://img.shields.io/npm/dm/ts-data-forge.svg)](https://www.npmjs.com/package/ts-data-forge) [![License](https://img.shields.

  • v3.3.0
  • 52.34
  • Published

typescanner

A simple library for implementing type guard in TypeScript.

  • v0.5.3
  • 51.29
  • Published

primitive-predicates

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

  • v2.1.4
  • 50.96
  • Published

ts-predicate

TypeScript predicates and assertions library

  • v1.1.4
  • 45.16
  • Published

guardz

A simple and lightweight TypeScript type guard library for runtime type validation.

  • v1.12.2
  • 43.05
  • Published

to-typed

Type-guards, casts and converts unknowns into typed values

  • v0.5.2
  • 40.51
  • Published

payload-is

A comprehensive TypeScript/JavaScript type checking library providing functions to check data types, collections, primitives, and built-in objects

  • v0.4.0
  • 35.50
  • Published

is-not-null-or-undefined

A TypeScript utility function to check if a value is not null or undefined

    • v1.0.2
    • 32.39
    • Published

    is-non-nullable

    Just function to predicate non nullable with type guard.

    • v1.0.2
    • 31.12
    • Published

    is-some-enum

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

    • v1.0.1
    • 25.55
    • Published

    @imhonglu/type-guard

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

    • v1.0.2
    • 23.91
    • 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
      • 23.84
      • 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
      • 23.55
      • Published

      @bitty/nullish

      Nullish helper functions and types for TypeScript.

      • v0.3.0
      • 22.63
      • 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
      • 22.28
      • Published

      @bitty/falsy

      Falsy helper functions and types for TypeScript.

      • v0.3.0
      • 21.71
      • Published

      @younho9/guards

      A set of type guards for TypeScript

      • v0.7.17
      • 21.28
      • Published

      json-to-typed

      Build to-typed objects from JSON files.

      • v0.2.0
      • 19.62
      • Published

      safetype

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

      • v0.0.7
      • 18.64
      • Published

      @1k/is

      The definitive JavaScript type testing functions

        • v0.1.8
        • 17.74
        • Published

        @bitty/predicate

        Predicate helper functions and types for TypeScript.

        • v0.3.0
        • 17.62
        • Published

        guardz-axios

        Type-safe HTTP client built on top of Axios with runtime validation using guardz. Part of the guardz ecosystem for comprehensive TypeScript type safety.

        • v1.11.3
        • 17.60
        • Published

        @typeguards/core

        Runtime type checking library for TS & JS

        • v1.1.0
        • 17.19
        • Published

        guardz-generator-mcp

        MCP (Model Context Protocol) Server for TypeScript Type Guard Generation - Generate runtime validation functions from TypeScript types

        • v1.11.8
        • 16.54
        • Published

        result-guard

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

          • v1.2.3
          • 16.27
          • Published

          guardz-event

          Type-safe event handling with runtime validation using guardz for unsafe data from 3rd parties

          • v1.11.3
          • 15.70
          • Published

          type-guard-pro

          Zero-dependency TypeScript runtime type validation with full type inference

          • v1.0.1
          • 14.96
          • Published

          tsertion

          Koa middleware for handling errors.

          • v1.0.0
          • 13.04
          • Published

          inferred

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

          • v0.0.10
          • 12.50
          • Published

          plainp

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

          • v1.0.0
          • 7.62
          • Published

          defined-type-guard

          A TypeScript Type-Guard for Filtering out undefined Values

          • v1.0.1
          • 7.27
          • Published

          @younho9/not

          Type guard based on exclude

          • v0.1.0
          • 5.12
          • Published

          is-only

          Lightweight TypeScript validation library with fluent API

          • v1.0.0
          • 2.63
          • Published

          @dephub/is

          A lightweight runtime type guard library for JavaScript & TypeScript

          • v1.1.0
          • 0.00
          • Published

          is-interface

          Type Guard for interface

          • v0.1.0
          • 0.00
          • Published