Back to projects

is-kit

Added Oct 19, 2026

bynyaomaru12 impressions
is-kit — 1

Embeds

Add interesting embeds to your website or README.

License
LightDark
is-kit on EmbedCatalog
<a href="https://embedcatalog.com/projects/is-kit" target="_blank" rel="noreferrer noopener"><img src="https://embedcatalog.com/embed/is-kit/license.png" alt="is-kit on EmbedCatalog" style="width: 160px; height: 28px;" width="160" height="28" /></a>
Added to
LightDark
is-kit on EmbedCatalog
<a href="https://embedcatalog.com/projects/is-kit" target="_blank" rel="noreferrer noopener"><img src="https://embedcatalog.com/embed/is-kit/added.png" alt="is-kit on EmbedCatalog" style="width: 200px; height: 28px;" width="200" height="28" /></a>

Build small guards. Compose them. A lightweight, zero-dependency toolkit for building reusable TypeScript type guards that compose, refine, and preserve natural narrowing. Runtime-safe 🛡️, composable 🧩, and ergonomic ✨.

🔧 Build small guards. Compose them

is-kit is a lightweight, zero-dependency toolkit for building reusable TypeScript type guards.

is-kit is not just a collection of isX helpers. Its main focus is composing small runtime checks into reusable guards while preserving useful TypeScript narrowing.

It helps you write small isFoo functions, compose them into richer runtime checks, refine properties on values you already know about, and keep TypeScript narrowing natural inside regular control flow. Use it at runtime boundaries when needed, without requiring a schema-first workflow.

Runtime-safe 🛡️, composable 🧩, and ergonomic ✨ without asking you to adopt a heavy schema workflow.

  • Build and reuse typed guards
  • Compose guards with and, or, not, oneOf
  • Use refineKey to narrow a child property while preserving its parent type
  • Validate object shapes and collections when that is useful
  • Parse or assert unknown values without a large schema framework

Best for app-internal narrowing, filtering, and reusable guards.