@theroyalwhee0/result
A
Rust-like Result type for TypeScript. Based on
Ville Hakulinen's post.
Installation
npm install @theroyalwhee0/resultor
yarn add @theroyalwhee0/result
Documentation
API Documentation
Testing.
Running ``
npm run test`
will run the test suite. Running `
npm run test-watch`` will run the test suite in watch mode.
Links
- GitHub:
https://github.com/theroyalwhee0/result- NPM:
https://www.npmjs.com/package/@theroyalwhee0/result
History
- v1.0.0 - 2022-06-02
- Bump depends for security.
- v0.0.3 - 2021-06-11
- Bump depends for security.
- v0.0.2 - 2021-03-22
- Fix generic type defaults on capture & captureFn.
- v0.0.1 - 2021-03-21
- Initial release.
Legal & License
Copyright 2021 Adam Mill
This library is released under Apache 2 license. See LICENSE for more details.