Skip to content
devhub.
ExploreCompareSaved
Sign in
DevHubBuilt for curious developers. Data from GitHub.
Back to repositories
Public repository / everweij

typescript-result

Supercharge your TypeScript error handling with a powerful Result type that transforms chaotic try-catch blocks into elegant, type-safe code.

View on GitHub
445Stars
12Forks
7Open issues
1Subscribers

Language distribution

Share of source bytes reported by GitHub

TypeScript100%

Recent activity

Latest commits on the default branch

Merge pull request #24 from Gpx/patch-1everweij · Sep 8, 2025Fix typos in getting-started.mdGpx · Sep 7, 2025bumps version to 3.5.2everweij · Aug 10, 2025Merge pull request #22 from PeterD1524/mastereverweij · Aug 10, 2025fixes uncaught exceptions inside AsyncResult.fromPromiseCatchingPeterD1524 · Aug 10, 2025adds main workflow status badge to readmeeverweij · Jul 21, 2025fixes #19: provides fallback `T` for `ExtractValues<T>`everweij · Jul 21, 2025adjusts bundle size + bumps versioneverweij · Jul 20, 2025adds `match` functionality, simpler narrowing using `ok` (deprecating `isOk()` and `isError()`), `Result.error` makes strings constant by defaulteverweij · Jul 19, 2025fixes #18 - remove internal annotation on `[Symbol.iterator]()`everweij · Jul 19, 2025

Project details

Created Aug 2020 Updated Mar 2026 MIT License Project website
error-handlingresulttypescript

Contributors

5
everweij's avatareverweij61 commitsGpx's avatarGpx1 commitsPeterD1524's avatarPeterD15241 commitstrombipeti's avatartrombipeti1 commitsmrazauskas's avatarmrazauskas1 commits