Drash Middleware
A middleware library for Drash
Table of Contents
Overview
This repository contains Drash-approved middleware modules that you can use in your Drash application. Be aware that some modules may use third-party dependencies whilst some will not. You are still able to create your own middleware within Drash, but this project supplies already developed middleware that can be plugged straight into your application. Here is the current list of middleware modules:
- CSRF - Projection middleware. Inspired by expressjs/csurf.
- Cors - Enables the use of CORS.
- Dexter - A logging middleware inspired by expressjs/morgan.
- Paladin - Secure your Drash applications by setting various HTTP headers. Inspired by helmet.
- ServeTypeScript - Write front-end TypeScript and serve it as compiled JavaScript.
- Tengine - Enable templating and use the template engine of your choice.
Each middleware directory in this repository has a README.md
file that shows you how to use the middleware.
Mirrors
Contributing
Contributors are welcomed!
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
License
By contributing your code, you agree to license your contribution under the MIT License.