Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2023 (4)
20082026
  1. 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. …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
  3. …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
  4. On my team we use Rust-style Result/Option types for any unrecoverable exceptions. https://github.com/supermacro/neverthrow
  5. …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