npm

Need private packages and team management tools?Check out npm Orgs. »

allow-options

0.0.3 • Public • Published

allow-options

An express middleware for acknowledges OPTIONS method

Installation

npm install allow-options

Usage

let express = require('express');  
let allowOptions = require('allow-options');  
app.use('/<routes>', [allowOptions, <other middlewares> ], (req, res, next)=>{
    // body here
});

License

MIT

install

npm i allow-options

Downloadsweekly downloads

0

version

0.0.3

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability