hyper-ts
hyper-ts copied to clipboard
Type safe middleware architecture for HTTP servers
## 🚀 Feature request ### Current Behavior I see that there is no `iap`, which would be nicer than using `ichain` for chaing the status type. ### Desired Behavior API...
I suggest there should be an auth middleware example. I'm developing my own but wondering about thoughts on best practices. Assume we have ``` interface AuthenticationOpen { readonly AuthenticationOpen: unique...
Adds a second argument to the `redirect` constructor to change the status code used.
**Before submitting a pull request,** please make sure the following is done: - Fork [the repository](https://github.com/gcanti/hyper-ts) and create your branch from `master`. - Run `npm install` in the repository root....
Hopefully fixes #43 with a bunch of copy/pasting from the likes of https://github.com/gcanti/io-ts/pull/507.
I wanted to be able to send files with hyper-ts but there was no way to use it natively. I had to write Express code and then use `fromRequestHandler` to...