sindresorhus/is
Type check values observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 81
- Release rhythm 71
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 78.5
- age_days: 3268
- days_rel: 114
- days_push: 114
- n_releases_24m: 7
Adoption not part of the score
1791 stars · 132 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library for checking the type of values at runtime, with type guards and assertions. It provides a simple API like `is.string(value)` and `assert.string(value)` for validating and narrowing types.
Use cases
- check if a value is a string in javascript
- validate function argument types at runtime
- narrow typescript types with type guards
- assert an environment variable is a non-empty string
- detect the type of an unknown value
- validate array items match a type
When to choose
- you need runtime type checks with TypeScript type narrowing
- you want assertions that throw descriptive errors
- you need checks for many built-in types including Map, Promise, and observables
When to avoid
- you need schema validation of object shapes or serialization formats
- you prefer a single validation library like zod for both parsing and checking
Facets
library · maturity active
type-system developer-tools developer-tools programming-languages cross-platform type-checking type-guards assertions typescript runtime-validation nodejs
1 source
- readme: https://github.com/sindresorhus/is · fetched 2026-08-28 · ef56f7b7d635
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/is | main | 81 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem