Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

corsify-proxy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corsify-proxy

HTTP proxy that adds CORS headers

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Corisfy Proxy

Deploy Build Status API Documentation NPM Version

This is a node.js HTTP proxy that adds Cross-Origin Resource Sharing (CORS) headers to incoming HTTP requests, for use with XMLHttpRequest level 2.

The server was designed to be deployed to Heroku using free resources, so it fits in a single dyno. The code has great test coverage using mocha.

Easy Setup

Click the ''Deploy to Heroku'' button at the top of this page to create your own W3gram server running on Heroku. Don't worry, the project only uses free add-ons!

Make sure to add both your development server (e.g., http://localhost:3000) and your production sever (e.g., https://www.yourapp.com) to the list of allowed origins.

Make requests to the CORS-disabled server, including the protocol and path.

curl -i https://corsify-test.herokuapp.com/https://google.com

Development Setup

Install all dependencies.

npm install

Run the server in development mode.

npm start

License

This project is Copyright (c) 2014 Victor Costan, and distributed under the MIT License.

Keywords

FAQs

Package last updated on 31 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc