Elestia Open Source Ratings
5.3

Boxed

Reasonable, with limits. 7th of 9 typed errors and functional programming.

Boxed is a small, well-designed TypeScript library of Option, Result, Future, AsyncData and Lazy types with a chaining API. In April 2026 it moved from @swan-io/boxed to @bloodyowl/boxed. It works well, but it is maintained slowly, mostly by one person, and its use is flat while peers grow. For most new projects, neverthrow, better-result or Effect is the safer pick.

Best for: Front-end teams that want a light Result/Option/Future toolkit, plus AsyncData for UI loading states, without adopting Effect.

WebsiteGitHubnpm

Scores

Overall5.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Boxed is a tidy, capable library, and AsyncData and Future make it pleasant for UI code. But maintenance is slow and rests on one person, the package was just renamed, and use is flat while neverthrow, better-result, True Myth and Effect grow. It is fine to keep where it runs; most new projects should pick a more active peer.

GPT-6.2 Sol: 6.1, likely 4.9 to 7.3

Boxed is a reasonable pick when its combination of Result, Option, and AsyncData simplifies a new codebase. True Myth is the stronger general-purpose pick for teams that want similar types and a more active project. Boxed’s slow release cadence and the Future callback behavior limit the recommendation, while the npm scope move leaves its adoption trend uncertain.

Needed by many4.9

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Handling errors as values is useful in many TypeScript projects, but most developers still use exceptions. Boxed covers a wider set of types than a plain Result library, including Future and AsyncData, which helps UI work. It is not tied to a framework or runtime.

  • github.com/bloodyowl/boxed: Option, Result, Future, AsyncData, Lazy and utilities
  • category.job: Typed errors are a common but optional practice

GPT-6.2 Sol: 4.8, likely 3.5 to 6.2

Typed failures are useful in web apps, services, and libraries, and Boxed’s core API is framework-independent. Its closest fit is the subset of teams that want explicit Result and Option values and a custom model for async work. Developer surveys measure TypeScript use, so they give only indirect evidence of how many teams need this approach.

Helps a lot6.8

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

The API is consistent and immutable, the types are good, and the docs are clear. The cancellable Future and AsyncData are real advantages over plain Result libraries. On the other hand, there is no defect channel, Future.fromPromise types its error loosely, and it does far less than Effect. AI agents know it less well than neverthrow.

GPT-6.2 Sol: 7.0, likely 5.9 to 8.1

Boxed 3.4.0 has a readable chaining API, preserves error unions during composition, and offers both Promise adapters and a cancellable Future. A user reproduced a pending Future after a callback threw, and the release implementation still calls that callback without catching the exception. The small API and examples help coding agents get started, although the conflicting fromPromise example can lead them to pass the wrong argument. Independent performance and agent-accuracy measurements are sparse.

Holds up over time4.9

Will it still be a good choice in two years?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

The last year brought 18 commits and three npm versions, ending in April 2026, plus a docs fix in August. The move from the Swan org to a personal namespace suggests one maintainer now carries the project. The API is stable and small, so slow change does less harm, but the bus factor is low.

GPT-6.2 Sol: 5.2, likely 3.8 to 6.8

Boxed recorded 18 commits in the last year, and the maintainer responded to user requests in September. The three releases under the new scope arrived in one week in April, and a September pull request from the maintainer was still open in November. True Myth and Effect show substantially more recent maintenance, and Boxed’s future funding and release coverage are unclear.

  • github commitsLastYear and pushedAt: 18 commits over the year and a September 2026 push.
  • npm firstPublishedAt, latestPublishedAt, and versionsLastYear: Three new-scope versions published from April 20 through April 23.
  • raw.githubusercontent.com/bloodyowl/boxed/main/HISTORY.md: Records the npm scope change and ends at 3.3.1.
  • github.com/bloodyowl/boxed/pull/107: The maintainer proposed helpers in September. The pull request remains open.
  • peers commitsLastYear: True Myth had 286 commits and Effect had 4,250.
Used widely2.9

How many use it, and is that growing?

Claude Opus 5.5: 2.5, likely 2.0 to 3.5

The new package has 35.8k downloads a month and the deprecated @swan-io/boxed still has 39k, so about 75k combined. That compares with about 70k a year ago, a ratio near 1.1 against a median of 4.1, so Boxed is losing ground. It has 767 stars and almost no social attention.

GPT-6.2 Sol: 3.2, likely 1.7 to 5.0

The new scope saw 35,834 downloads in four weeks, well below even byethrow at about 116,000. Those downloads include repeat installs and installs through other packages such as Swan’s use-form. The move from @swan-io/boxed makes the new scope’s year-ago zero unsuitable for comparison with the 4.1× baseline. With no indexed dependent count for the new scope and little recent attention, both direct adoption and its trend are uncertain.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 35,834 recent downloads and a zero baseline before the new scope existed.
  • peers downloadsLast4Weeks and medianDownloadsRatio: Every listed peer has more downloads. The catalog’s growth baseline is 4.1×.
  • dependents, github stars, and bluesky: No indexed dependent count, 767 stars, and one Bluesky post announcing the move.
  • raw.githubusercontent.com/bloodyowl/boxed/main/HISTORY.md: Confirms the move from the Swan npm scope.
  • npmjs.com/package/%40swan-io/use-form?activeTab=dependencies: Swan’s form library installs the new scoped package as a dependency.
Vouched for4.1

Who stands behind it being good?

Claude Opus 5.5: 3.5, likely 2.0 to 5.0

It was built at and used by the fintech Swan in production, which is one real backer, though that link now looks weaker. Independent write-ups mention it only in passing, and no survey or benchmark covers it. It has no Hacker News coverage.

GPT-6.2 Sol: 4.7, likely 3.3 to 6.1

Swan documented using Boxed in its banking frontend, and that repository now lists version 3.4.0. BearStudio’s Create Start UI CLI depends on the older scope, and an independent comparison praised Boxed’s approachable API. Evidence across other production teams is thin, and published benchmarks and satisfaction data offer little basis for a higher score.

Safe7.6

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It has zero dependencies, an MIT licence and no advisories, so the attack surface is small. There is no Scorecard, and publishing seems to rest with one maintainer under a new namespace. The package transfer means users must check that they install the right name.

  • npm dependencies: 0 dependencies
  • advisories total: No known advisories
  • scorecard: No OpenSSF Scorecard

GPT-6.2 Sol: 7.6, likely 6.1 to 8.8

The MIT license, zero runtime dependencies, and absence of known advisories keep the dependency risk relatively low. The repository has a release workflow configured for npm trusted publishing, but the visible 3.4.0 run failed, leaving the published artifact’s provenance and the number of authorized publishers unverified. The lack of a published security policy and an OpenSSF Scorecard widens the range.

Good

  • It has a coherent set of types: Option, Result, a cancellable Future, and AsyncData for loading states in UIs.
  • It has zero dependencies, an MIT licence, and no known advisories.
  • It works with ts-pattern out of the box and converts easily to and from native JS values.
  • The docs on boxed.cool are clean, and the API has a fluent chaining style.

Bad

  • Development is slow: 18 commits and only a few small releases in the last year, mostly by one maintainer.
  • Moving from @swan-io/boxed to @bloodyowl/boxed means changing imports, and it hints that company backing has shrunk.
  • It has no channel for unexpected defects, and Future.fromPromise types errors loosely unless you map them.
  • Use is flat at about 75k combined downloads a month, while peers grow several times over.

The numbers

npm downloads, 4 weeks
36k
GitHub stars
767
Commits, 12 months
18
npm version
3.4.0 Apr 2026
Versions, 12 months
3
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (bloodyowl/boxed), npm (@bloodyowl/boxed), OSV and the OpenSSF Scorecard.

Typed errors and functional programming

  1. 7.9Effect
  2. 7.1better-result
  3. 6.9True Myth
  4. 6.6byethrow
  5. 6.0ts-pattern
  6. 5.9neverthrow
  7. 5.3Boxed
  8. 5.2Purify
  9. 3.7fp-ts
Compare all 9 on six scores