corsregistry

CORS enabled npm registry proxy. Primary goal of this repository is to provide data to https://github.com/anvaka/npmgraph.an

Usage no npm install needed!

<script type="module">
  import corsregistry from 'https://cdn.skypack.dev/corsregistry';
</script>

README

corsregistry

CORS enabled npm registry proxy. Primary goal of this repository is to provide data to https://github.com/anvaka/npmgraph.an

Since the npm registry does not support cors or jsonp I hacked this together to alleviate the problem.

install

With npm do:

npm install corsregistry

You can deploy this to your own heroku instance. Just make sure to update white-listed domains in the [index.js].

license

MIT