1.1.0 • Published 3 years ago
@ppaya/result-ts v1.1.0
Rust's Result for Typescript.
Using fp-ts Either, but with easier naming
Why?
How?
- Mimicing Rust's Result type in TypeScript
- Type-Safe Error Handling In TypeScript
- From rust to Typescript
Examples
See the examples directory
Devlopment
Prerequisites
Docker
Running
The project contains a dev-container that has a prebuilt dev environment with node installed.
run make
to build
CI
Github Actions runs makefile commands to test, lint, built, format, coverage before pull requests can be merged. See ci.yml
Debug with make debug-actions
. This uses act to run the workflows locally.
CD
Github Actions automatically publishes commits to main to NPM. See cd.yml
2.0.0-beta.2
3 years ago
1.1.0
3 years ago
2.0.0-beta.1
3 years ago
1.0.0
3 years ago
1.0.0-development.1
3 years ago
1.0.0-beta.7
3 years ago
1.0.0-beta.6
3 years ago
1.0.0-beta.5
3 years ago
1.0.0-beta.4
3 years ago
1.0.0-beta.3
3 years ago