🌜
🌞

Best JavaScript CORS Libraries

cors

cors

v2.8.5

Node.js CORS middleware

Last Commit
May 14, 2022
GitHub Stargazers
5,536
License
MIT
Contributors
37
http-proxy-middleware

http-proxy-middleware

v2.0.6

The one-liner node.js proxy middleware for connect, express and browser-sync

Last Commit
Sep 9, 2022
GitHub Stargazers
9,403
License
MIT
Contributors
23
@middy/http-cors

@middy/http-cors

v3.1.1

CORS (Cross-Origin Resource Sharing) middleware for the middy framework

Last Commit
Sep 26, 2022
GitHub Stargazers
3,028
License
MIT
Contributors
96
fastify-cors

fastify-cors

v6.1.0

Fastify CORS

Last Commit
Sep 19, 2022
GitHub Stargazers
249
License
MIT
Contributors
28
has-cors

has-cors

v1.1.0

Detects support for Cross-Origin Resource Sharing

Last Commit
Nov 12, 2014
GitHub Stargazers
18
License
MIT
Contributors
3
corser

corser

v2.0.1

A highly configurable, middleware compatible implementation of CORS.

Last Commit
Jul 20, 2018
GitHub Stargazers
91
License
MIT
Contributors
4
@tinyhttp/encode-url

@tinyhttp/encode-url

v2.0.5

encode-url rewrite in TypeScript with ESM and CommonJS targets

Last Commit
Sep 8, 2022
GitHub Stargazers
2,292
License
MIT
Contributors
41
@marblejs/middleware-cors

@marblejs/middleware-cors

v4.0.3

A CORS middleware for Marble.js

Last Commit
May 11, 2022
GitHub Stargazers
2,042
License
MIT
Contributors
19
cors-gate

cors-gate

v1.1.3

Gate requests based on CORS data.

Last Commit
Jun 25, 2021
GitHub Stargazers
45
License
MIT
Contributors
10
egg-cors

egg-cors

v2.2.3

cors plugin for egg

Last Commit
Mar 29, 2022
GitHub Stargazers
150
License
Contributors
11
@koa/cors

@koa/cors

v3.3.0

Cross-Origin Resource Sharing(CORS) for koa

Last Commit
Aug 19, 2022
GitHub Stargazers
695
License
MIT
Contributors
11
hapi-cors-headers

hapi-cors-headers

v1.0.3

hapi extension to enable CORS

Last Commit
Apr 26, 2019
GitHub Stargazers
28
License
MIT
Contributors
3
koa2-cors

koa2-cors

v2.0.6

cors middleware for koa2

Last Commit
Jul 17, 2018
GitHub Stargazers
231
License
MIT
Contributors
1
@adonisjs/cors

@adonisjs/cors

v1.0.7

CORS middleware for Adonisjs

Last Commit
Sep 27, 2018
GitHub Stargazers
9
License
MIT
Contributors
5
restify-cors-middleware2

restify-cors-middleware2

v2.1.2

CORS middleware with full W3C spec support

Last Commit
Dec 3, 2020
GitHub Stargazers
8
License
MIT
Contributors
21
local-web-server

local-web-server

v5.2.1

A lean, modular web server for rapid full-stack development

Last Commit
May 28, 2022
GitHub Stargazers
1,076
License
MIT
Contributors
5
@lambda-middleware/cors

@lambda-middleware/cors

v2.0.0

AWS lambda middleware for automatically adding CORS headers

Last Commit
Apr 13, 2022
GitHub Stargazers
134
License
MIT
Contributors
3
@ampproject/toolbox-cors

@ampproject/toolbox-cors

v2.9.0

An express middleware implementing the AMP CORS protocol

Last Commit
Jun 23, 2022
GitHub Stargazers
434
License
Apache-2.0
Contributors
54
farrow-cors

farrow-cors

v1.10.9

Cross-Origin Resource Sharing(CORS) for farrow-http

Last Commit
May 23, 2022
GitHub Stargazers
736
License
MIT
Contributors
12
corsproxy

corsproxy

v1.5.0

standalone CORS proxy

Last Commit
Oct 6, 2017
GitHub Stargazers
374
License
MIT
Contributors
12