Purify
Reasonable, with limits. 8th of 9 typed errors and functional programming.
Purify (purify-ts) is a small, readable TypeScript library with Maybe, Either, their async forms and a built-in Codec. It works, but one maintainer keeps it going with a few commits a year, and three recent releases shipped broken ESM builds. For most new projects, neverthrow, True Myth or Effect is the safer pick.
Best for: Teams that already use Purify, or that want a small Maybe/Either API with method chaining and accept a slow-moving, single-maintainer project.
Scores
Overall5.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
Purify is pleasant to use and still works, but maintenance has slowed to a trickle. Recent releases have been fragile, and few projects use it. neverthrow or True Myth give a similar Result/Maybe API with more users, and Effect is moving forward fast. Keep it where it already runs; for new work, most teams should pick a peer.
- github commitsLastYear: 3 commits, against 286 for True Myth and 4,250 for Effect
- peers downloadsLast4Weeks: Peers range from 3.7M to 277M downloads, against Purify's 0.77M.
- github.com/gigobyte/purify/releases: A pattern of broken ESM releases
- pkgpulse.com/guides/effect-ts-vs-fp-ts-vs-neverthrow-2026: Current guidance points to neverthrow and Effect.
GPT-6.2 Sol: 5.8, likely 4.6 to 7.0
Purify is a reasonable choice when a project wants Either, Maybe, and codecs to work together through a small API. For most new projects focused on typed errors, True Myth has more active maintenance and built-in async retries and timeouts. Purify's slow release cadence, repeated ESM breakage, and open Codec reports lower confidence in future upgrades, even as installs have grown.
- gigobyte.github.io/purify/utils/Codec: Decoding integrates with the same Either type used for application failures.
- true-myth.dev/api/task: True Myth's async type includes retries and timeouts.
- github commitsLastYear and peers True Myth commitsLastYear: Purify recorded three commits, versus 286 for True Myth.
- github.com/gigobyte/purify/releases: The release history documents multiple broken ESM builds and corrective patches.
- github.com/gigobyte/purify/issues: Two recent Codec reports are still open.
Needed by many4.4
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Typed error handling with Maybe/Either types is something many TypeScript developers might want. Only a minority adopt a library for it. Purify's take on functional programming is general-purpose and works on any runtime, so it is no narrower than its category.
- dev.to/jtorchia/functional-programming-in-typescript-the-abstractions-i-actually-use-and-the-ones-i-dropped-32nf: Many teams adopt Result patterns without a library and find Option unnecessary when strictNullChecks is on.
- category.job: Handling errors as values is a niche, but a clear one.
GPT-6.2 Sol: 4.8, likely 3.5 to 6.1
Typed failures are useful in browser and server code that parses input, calls APIs, or applies business rules. Purify fits teams that want to represent those failures with chainable result objects. TypeScript use is well documented, but surveys give little indication of how many teams need a dedicated result library.
- 2025.stateofjs.com/en-US/usage: TypeScript is widely used among respondents.
- gigobyte.github.io/purify/faq: The library targets frontend and backend code.
- gigobyte.github.io/purify/adts/Either: Examples show typed failures and recovery for ordinary application code.
Helps a lot6.2
How well does it do the job for those who need it?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It offers a clean, well-typed API for Maybe, Either, the async variants, and a Codec for runtime decoding. Its scope is smaller than Effect's or fp-ts's, and its Codec is weaker than Zod or Valibot. Three broken ESM releases and open Codec bugs lower confidence in release quality.
- github.com/gigobyte/purify/releases: v2.1.3, v2.1.1 and v2.0.2 had broken ESM builds and were marked 'DO NOT USE'.
- github.com/gigobyte/purify/issues: Open Codec bugs: parseError crashes on oneOf with 11+ alternatives, and __proto__ is mishandled.
- skillsmp.com/skills/manutej-fstar-labs-claude-skills-purify-skill-md: A third-party agent skill documents usage of Maybe, Either, EitherAsync and Codec.
GPT-6.2 Sol: 6.9, likely 5.8 to 8.0
Version 2.1.4 covers synchronous and asynchronous composition with short, documented examples, and Codec shares the same Either type. Mixed Left and Right returns can need annotations, and unexpected throws can escape EitherAsync's declared error type. Users also report edge cases in Codec decoding and error parsing. Comparative microbenchmarks show competitive performance in some operations, with limited evidence from real workloads or AI-generated code.
- gigobyte.github.io/purify/adts/Either: Documents method chaining, matching, and return type annotations.
- raw.githubusercontent.com/gigobyte/purify/v2.1.4/src/EitherAsync.ts: Async chains combine declared errors, and run wraps unexpected throws as Left.
- gigobyte.github.io/purify/utils/Codec: Decoders return Either values with descriptive failure messages.
- github.com/gigobyte/purify/issues/759: Open report details error parsing and numeric enum issues in 2.1.4.
- oofp.js.org/reference/benchmarks: A competing library's Node.js microbenchmarks show mixed results for Purify 2.x.
Holds up over time3.9
Will it still be a good choice in two years?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
There were only 3 commits and 2 releases in the last year, from what looks like a single maintainer with no visible funding. Recent bug reports have had no reply, and the Scorecard 'Maintained' check scores 0. The project is not abandoned, but the ecosystem is moving toward Effect, neverthrow and newer Result libraries.
- github commitsLastYear: 3 commits in the last year
- scorecard Maintained: Scores 0
- github.com/gigobyte/purify/issues: Issues opened in Aug and Nov 2026 have no maintainer response.
- npm latestPublishedAt: The last release was v2.1.4 in Dec 2025.
GPT-6.2 Sol: 4.3, likely 3.0 to 5.7
Purify recorded three commits and two releases in the past year, and its last release was in December 2025. Version 2.1.4 fixed a broken ESM build within four days, but earlier patches had the same packaging problem and an August 2026 Codec report remains open. The small API and reported sponsorship give it some staying power, while recent releases depend on one visible maintainer and the project has no dated roadmap.
- github commitsLastYear, releasesLastYear, and latestRelease: Three commits, two releases, and an eleven-month release gap.
- github.com/gigobyte/purify/releases: One account publishes recent GitHub releases, including repeated ESM build fixes.
- github.com/gigobyte/purify/issues: August and November 2026 Codec reports remain open.
- github.com/gigobyte/purify/issues/173: A downstream user reported sponsoring the project.
- gigobyte.github.io/purify/faq: The project describes an irregular release schedule without target dates.
Used widely3.6
How many use it, and is that growing?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
It has about 770k downloads per 4 weeks, up 4.7x from a year ago, slightly above the 4.1 median, so it holds its ground but no more. There are only 134 dependent repositories and 68 packages, far below fp-ts (48,975), True Myth (4,565) and neverthrow (761). It has no Hacker News or Bluesky attention, so a few thousand projects at most choose it directly.
- npm downloadsLast4Weeks: 769,496, against 164,174 a year earlier (ratio 4.69 vs median 4.1)
- dependents: 134 repositories and 68 packages
- bluesky posts: 0 posts, against 5–26 for most peers
GPT-6.2 Sol: 3.7, likely 2.2 to 5.2
Four-week downloads rose from 164,174 to 769,496, a 4.69× increase against the catalog's 4.1× median. That suggests a modest gain in relative install share. Ecosyste.ms found 134 repositories and 68 packages, with fewer tracked repositories than neverthrow or True Myth and little recent public attention. Repeat installs, transitive installs, and incomplete repository coverage leave the number of projects choosing Purify uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Purify's 4.69× growth is above the 4.1× catalog median.
- dependents and peers dependentRepos: Purify has 134 tracked repositories, versus 761 for neverthrow and 4,565 for True Myth.
- github stars, hackerNews stories, and bluesky posts: 1,605 GitHub stars and no matches in the supplied discussion counts.
Vouched for4.1
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
The production users are self-reported in a GitHub thread, mostly small companies from 2020–2024. The largest name there is Amsterdam Schiphol Airport, which uses it for an operational dashboard. Current independent comparisons from 2026 cover Effect, fp-ts and neverthrow and leave Purify out.
- github.com/gigobyte/purify/issues/173: Self-reported production users, including Schiphol, Placemark and Treno
- pkgpulse.com/guides/effect-ts-vs-fp-ts-vs-neverthrow-2026: This 2026 comparison does not mention Purify.
- dev.to/royce_fabbd83cb268312e928/effect-ts-vs-fp-ts-vs-neverthrow-ts-errors-2026-3li0: Another 2026 comparison focuses on peers, not Purify.
GPT-6.2 Sol: 5.1, likely 3.8 to 6.4
APITable declares Purify as a direct dependency, and a Schiphol Airport dashboard developer reported choosing it because teammates could learn it easily. Cisco also listed an older version in a product's open-source notices. The production reports are mostly historical, and external benchmarks and user discussions provide limited evidence of current satisfaction.
- github.com/apitable/apitable/blob/develop/packages/datasheet/package.json: APITable's datasheet app declares purify-ts as a direct dependency.
- github.com/gigobyte/purify/issues/173: Schiphol and other teams reported production use, with feedback on ease of adoption.
- cisco.com/c/dam/en_us/about/doing_business/open_source/docs/DNACNXPPlatformUI-Ghost-1689096687.pdf: Cisco's product notice lists purify-ts 1.1.0.
- reddit.com/r/functionalprogramming/comments/13v42f7/opinions_about_fp_frameworks: Developers praised its fit with ordinary TypeScript and reported limits for advanced use.
- oofp.js.org/reference/benchmarks: External microbenchmarks compare Purify with neverthrow, fp-ts, and Effect.
Safe5.6
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
It has no known advisories, one runtime dependency and a permissive ISC licence. On the other side, the OpenSSF Scorecard is weak at 2.9, with no branch protection, code review, security policy or pinned dependencies, and one person publishes. Broken builds that reached npm show that release checks are loose.
- advisories total: 0 advisories
- scorecard score: 2.9; Code-Review 1 and Branch-Protection 0
- npm dependencies: 1 dependency
- github.com/gigobyte/purify/releases: Several releases were published with broken ESM builds.
GPT-6.2 Sol: 5.2, likely 3.9 to 6.6
The ISC licence is permissive, the sole dependency is a type declarations package, and OSV lists zero advisories. An open report describes unsafe handling of some object inputs in Codec, with impact depending on how an application uses decoded data. Scorecard gives Purify 2.9 out of 10, with weak code review, branch protection, and workflow controls. The repo has no published security policy, and the visible release history and publishing script give limited assurance about who can publish and how provenance is verified.
- advisories total and scorecard checks: Zero OSV advisories and weak review, branch protection, token permissions, and dependency pinning.
- raw.githubusercontent.com/gigobyte/purify/d440252/package.json: ISC licence and a single dependency on JSON Schema type declarations.
- github.com/gigobyte/purify/issues/758: Open report of unsafe object handling in Codec on 2.1.4.
- github.com/gigobyte/purify/security/policy: GitHub reports no published security policy.
- raw.githubusercontent.com/gigobyte/purify/d440252/publish.ps1: The checked-in PowerShell script builds, tests, and invokes npm publish directly.
- github.com/gigobyte/purify/releases: Recent GitHub releases come from one account.
Good
- Its chainable Maybe, Either, MaybeAsync and EitherAsync API is easier to learn than fp-ts's pipe-based style.
- A built-in Codec module decodes JSON at runtime straight into Either values.
- It is small, with one dependency, an ISC licence and no known advisories.
- Its types are good, and it added support for TypeScript 5.5 type guards.
Bad
- Maintenance is thin: 3 commits in the last year, and recent bug reports have had no response.
- Three releases since v2 (2.0.2, 2.1.1 and 2.1.3) shipped broken ESM builds and were marked 'DO NOT USE'.
- Few projects use it next to its peers: about 134 dependent repositories, against thousands for fp-ts, True Myth and ts-pattern.
- Its Codec is weaker than dedicated validators such as Zod or Valibot, and still has open bugs in parsing edge cases.
The numbers
- npm downloads, 4 weeks
- 769k ×4.7 in a year
- GitHub stars
- 1.6k
- Commits, 12 months
- 3
- npm version
- 2.1.4 Dec 2025
- Versions, 12 months
- 2
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 2.9 out of 10, Nov 2026
- Licence
- ISC
Read on 21 November 2026 from GitHub (gigobyte/purify), npm (purify-ts), OSV and the OpenSSF Scorecard.