Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiradus/cors-middleware
💻🌐 A simplistic yet effective Cross origin resource sharing Express.js middleware.
https://github.com/thiradus/cors-middleware
cors cors-headers cross-origin cross-origin-resource-sharing express expressjs javascript middleware
Last synced: 5 days ago
JSON representation
💻🌐 A simplistic yet effective Cross origin resource sharing Express.js middleware.
- Host: GitHub
- URL: https://github.com/thiradus/cors-middleware
- Owner: Thiradus
- License: mit
- Created: 2020-03-08T03:27:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T03:45:04.000Z (almost 4 years ago)
- Last Synced: 2025-01-08T16:42:57.021Z (30 days ago)
- Topics: cors, cors-headers, cross-origin, cross-origin-resource-sharing, express, expressjs, javascript, middleware
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/thiradus-cors-middleware/
- Size: 155 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Thiradus Dark Banner](https://raw.githubusercontent.com/Thiradus/Branding/master/Graphics/Banner/Banner-Dark.png)](https://thiradus.com/)
CORS Middleware
[![CodeFactor](https://www.codefactor.io/repository/github/thiradus/cors-middleware/badge)](https://www.codefactor.io/repository/github/thiradus/cors-middleware) [![Depfu](https://badges.depfu.com/badges/20285344da99d629b259c64b9591d1cd/overview.svg)](https://depfu.com/github/Thiradus/cors-middleware?project_id=11307) ![Downloads](https://img.shields.io/npm/dt/thiradus-cors-middleware?style=flat) ![MIT License](https://img.shields.io/github/license/Thiradus/cors-middleware?style=flat)
## Overview
A simplistic yet effective Cross-Origin Resource Sharing [Express.js](https://expressjs.com/) Middleware.
## Installation
```Bash
npm install thiradus-cors-middleware --save
```## Usage
### Example
```JavaScript
const cors = require('thiradus-cors-middleware');
const express = require('express');const app = express();
app.use(cors);
```## License
This repository is licensed under the [MIT](./LICENSE.md) License © 2015-2021 [Thiradus](https://github.com/Thiradus/)