Typescriptified version of the js-middleware repo. Kudos to the original @author for such an elegant mini-framework.
Run yarn add @dimesoftware/ts-middleware
or npm install @dimesoftware/ts-middleware
to add the package to your project.
The usage is more or less the same as js-middleware repo.
This is pretty much a copy of the js-middleware repo, but it's built with TypeScript.
You need the latest version of yarn and TypeScript to run this project.
After that's done, run yarn install
or simply `yarn to install the requirements.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.