@hope/cors

1.0.3 • Public • Published

CORS middleware for Express

Test passing

Add CORS headers to server response, that allows cross-site connections

Usage

// Import
import CORS from '@hope/cors';
// Apply
app.all('*', CORS());

Readme

Keywords

none

Package Sidebar

Install

npm i @hope/cors

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators