0.0.1 • Published 2 years ago
@davidhousedev/type-pipe v0.0.1
TYPE PIPE
type-pipe contains a type-safe pipe()
function implementation, because you just can't wait for JS-native pipes.
Supports
- ⛓ Chaining functions via
pipe().pipe()
etc. - 🏭 Passing the return of one
pipe
to the first argument of the nextpipe
- 👾 Catching errors and returning them safely
- 🦺 Type safety between pipes
Not yet supported
- Async functions
Contributing
Contributions welcome! Feel free to fork the repo and open PRs.
Contributions will not be accepted without unit tests ❤️.
- Fork the repo
- Complete your change
- Create a changeset with
pnpm run changeset
describing your change - Open a PR to this repo at
main
0.0.1
2 years ago