0.0.1 • Published 8 years ago

kofi-cors v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

kofi-cors

npm npm npm

Cors middleware for kofi.js

Installation

npm install kofi-cors

Usage

var kofi = require('kofi');
var kofi_cors = require('kofi-cors');

//Enable cors
kofi.use(kofi_cors());

//More configuration
//...
//...

//Run the server
kofi.listen(3000);

License

MIT LICENSE © Josemi Juanes.

0.0.1

8 years ago