26
A TypeScript library for explicit error handling. Instead of functions that throw or return null, you get a Result<T, E> type that makes the failure case part of the signature — the compiler tells you when you haven't handled it.
Built while working on Vennbee's backend, where async tool chains kept eating errors silently. The flatMapAsync combinator chains calls that can fail, short-circuiting on the first error without a try/catch tower. partition handles fan-out patterns where some requests failing is okay and you want to keep going with what succeeded.
Zero dependencies, JSON-serializable results, fully tree-shakeable.
npm: @vennbee/result-type
Built with