preflight

0.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i preflight

Weekly Downloads

2

Version

0.2.0

License

none

Last publish

Collaborators

  • guillaumebiton