Hacker GitHub

← All repos

vultix/ts-results

View on GitHub ↗ ★ 1,410 TypeScript

A typescript implementation of Rust's Result object.

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2023-10-31 · latest 2023-11-17

Mentions per year 3 mentions · busiest year 2023 (3)
20082026
  1. …to avoid external dependencies. If you don't mind, a quick google comes up with a couple: https://github.com/vultix/ts-results https://github.com/badrap/result
  2. You might like https://github.com/vultix/ts-results -- no dependencies. (Beware maintainer is not active, https://github.com/vultix/ts-results/issues/37 )
  3. Nicer way to go about this is `ts-results` which introduces the `Result` type, inspired by rust. https://github.com/vultix/ts-results