npm package
Homebetter-result
better-result is a lightweight Result type for TypeScript that facilitates generator-based composition, making it easier to handle success and failure in workflows. It is particularly useful for defining explicit error handling in multi-step processes, allowing developers to manage expected failures separately from bugs.
- lurq health score
- 79/100
- Confidence
- emerging
- Weekly downloads
- 4,092,632
- Latest version
- 3.0.1
- Last release
- Aug 11, 2026
- License
- MIT
Should you depend on better-result?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks better-result at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading better-result
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 2.10.0 → 3.0.1diff ready
- 1.0.1 → 2.10.0diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.