allow-options
v0.0.3
Published
npm that acknowledges OPTIONS method
Downloads
4
Readme
allow-options
An express middleware for acknowledges OPTIONS method
Installation
npm install allow-optionsUsage
let express = require('express');
let allowOptions = require('allow-options');
app.use('/<routes>', [allowOptions, <other middlewares> ], (req, res, next)=>{
// body here
});