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

Readme

Keywords

Package Sidebar

Install

npm i allow-options

Weekly Downloads

3

Version

0.0.3

License

MIT

Last publish

Collaborators

  • sridharrajs