Typed errors and functional programming
Handle errors as values, with types that say what can fail. We rate 9; Effect leads with 7.9 out of 10.
The numbers
Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| Effect | 278M | ×12 | 18k | 4.3k | Nov 2026 | 3 |
| better-result | 43M | new | 2k | 97 | Aug 2026 | 0 |
| True Myth | 3.7M | ×2.4 | 1.4k | 286 | May 2026 | 0 |
| byethrow | 116k | ×11 | 383 | 806 | Oct 2026 | 0 |
| ts-pattern | 39M | ×3.2 | 15k | 58 | Oct 2026 | 0 |
| neverthrow | 19M | ×4.9 | 7.8k | 2 | Feb 2025 | 0 |
| Boxed | 36k | new | 767 | 18 | Apr 2026 | 0 |
| Purify | 769k | ×4.7 | 1.6k | 3 | Dec 2025 | 0 |
| fp-ts | 22M | +69% | 12k | 2 | Aug 2025 | 0 |