Package Exports
- cors-proxy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cors-proxy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
install
npm i cors-proxyusage
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