# Boxed: 5.3 out of 10

Reasonable, with limits. 7th of 9 in [Typed errors and functional programming](https://elestia.ai/opensource/typed-errors/index.md).

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.

## Scores

- **Overall: 5.3** (likely 4.2 to 6.4)
  - Claude Opus 5.5 (4.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): 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 many: 4.9** (likely 3.8 to 6.1)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (4.8): 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 lot: 6.8** (likely 5.7 to 7.8)
  - Claude Opus 5.5 (6.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): 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 time: 4.9** (likely 3.4 to 6.4)
  - Claude Opus 5.5 (4.5): 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): 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.
- **Used widely: 2.9** (likely 1.9 to 4.3)
  - Claude Opus 5.5 (2.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): 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.
- **Vouched for: 4.1** (likely 2.7 to 5.6)
  - Claude Opus 5.5 (3.5): 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): 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.
- **Safe: 7.6** (likely 6.3 to 8.7)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (7.6): 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

- Downloads, 4 weeks: 36k
- In a year: new
- GitHub stars: 767
- Commits, 12 months: 18
- Last npm release: Apr 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/bloodyowl/boxed
- npm: https://www.npmjs.com/package/@bloodyowl/boxed

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
