preflight

preflight requests middleware

npm install preflight
2 downloads in the last week
8 downloads in the last month

Preflight

Preflight requests middleware.

Installation

npm install preflight

Usage

preflight = require('preflight');
...
app.use(preflight());

With this middleware enable after CORS and before authentication, every preflight request will return a 200 http code.

License

MIT License, see LICENSE

npm loves you