0.2.0 • Published 11 years ago

preflight v0.2.0

Weekly downloads
15
License
-
Repository
github
Last release
11 years ago

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 204 http code.

License

MIT License, see LICENSE