gigobyte/purify
Functional programming library for TypeScript - https://gigobyte.github.io/purify/ observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 57
- Release rhythm 49
- 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: 82
- age_days: 3130
- days_rel: 260
- days_push: 260
- n_releases_24m: 4
Adoption not part of the score
1603 stars · 62 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Purify is a functional programming library for TypeScript providing algebraic data types like Maybe, Either, and Result, plus runtime type codecs. It is Fantasy Land conformant and emphasizes a practical, type-safe, developer-friendly API.
Use cases
- handle nullable values without null checks in TypeScript
- model success/failure results with Either or Result types
- validate and decode untrusted JSON at runtime with type-safe codecs
- write functional-style TypeScript with monads and functors
- avoid throwing exceptions by encoding errors in return types
- chain computations safely with map and chain methods
When to choose
- you want fp-ts-style functional patterns with a simpler, instance-method-based API
- you need runtime validation tightly integrated with TypeScript types
- you prefer a curated, practical FP library over a full port of another language's standard library
When to avoid
- you need higher-kinded types or advanced type-level FP features
- your team is not comfortable with functional programming concepts
- you want a point-free programming style out of the box
Facets
library · maturity active
serialization error-handling type-system programming-languages developer-tools web-development browser bun cross-platform functional-programming typescript algebraic-data-types maybe either monad fantasy-land runtime-validation codecs option-type result-type nodejs deno
1 source
- readme: https://github.com/gigobyte/purify · fetched 2026-08-28 · b939f6d0a8f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gigobyte/purify | main | 63 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem