0.0.3 • Published 8 years ago
allow-options v0.0.3
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
});