allow-cors

2.0.0 • Public • Published

allow-cors

Allow cross-origin access on your server responses

Install

npm install allow-cors

Usage

import allow from "allow-cors";

http.createServer((request, response) => {
    allow(response);
    response.end();
});

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    8
  • 1.0.0
    15

Package Sidebar

Install

npm i allow-cors

Weekly Downloads

23

Version

2.0.0

License

MIT

Unpacked Size

2.14 kB

Total Files

5

Last publish

Collaborators

  • gmartigny