allow-cors

Allow cross-origin access on your server responses.


Keywords
server, open, use with caution
License
MIT
Install
npm install allow-cors@2.0.0

Documentation

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