🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

cors-proxy

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cors-proxy

Cors proxy for requests

1.0.3
latest
Source
npm
Version published
Weekly downloads
161
40%
Maintainers
2
Weekly downloads
 
Created
Source

install

npm i cors-proxy

usage

const proxyEndpoint = 'https://free-cors-proxy.herokuapp.com/';
const proxyUrl = url => `${proxyEndpoint}${encodeURIComponent(url)}`;

let exampleAPI = 'https://bitcoin-markets-api.herokuapp.com/ticker/btcpln';
let url = proxyUrl(exampleAPI);

development

git clone git@github.com:gkucmierz/cors-proxy.git
npm i -g gulp
npm i
gulp

Keywords

cors-proxy

FAQs

Package last updated on 17 Feb 2017

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