supermacro/neverthrow
View on GitHub ↗ ★ 7,763 TypeScript
Type-Safe Errors for JS & TypeScript
7 mentions on Hacker News by 7 people: 2 stories, 5 comments · first 2021-10-11 · latest 2025-10-31
20082026
-
For the typescript world, there is neverthrow[0] which offers a similar Result type. [0]: https://github.com/supermacro/neverthrow
comment by paduc · 2025-10-31 · in Result is all I need -
▲ 2
Neverthrow – Type-Safe Errors for JavaScript and TypeScriptstory by eYrKEC2 · 2025-08-18 · 1 comment
-
…more "noise" to the code. Would a custom bespoke code/library add less noise? I'm not sure. [1] https://github.com/supermacro/neverthrow
comment by fuzzythinker · 2023-08-18 · in Railway Oriented Programming -
…to understand how to improve error handling with typescript recently and came across neverthrow ( https://github.com/supermacro/neverthrow ) which looks promising…
comment by cjr · 2023-05-04 · in Error Handling Patterns -
On my team we use Rust-style Result/Option types for any unrecoverable exceptions. https://github.com/supermacro/neverthrow
comment by bwestergard · 2023-01-24 · in Ask HN: What is the “proper” way to do error-handling in TypeScript? -
…guarantee that you're handling all types of errors thrown. For that purpose I'm thinking of using https://github.com/supermacro/neverthrow#readme or https://swan-io.github.io/boxed .
comment by difosfor · 2023-01-13 · in The gotcha of unhandled promise rejections -
▲ 1
Neverthrow – Type-Safe Errors for JavaScript and TypeScriptstory by javitury · 2021-10-11 · 0 comments