Skip to content

The npm registry dishes up extensive JSON info about its modules, but it doesn't support CORS. Enter the proxy!

Notifications You must be signed in to change notification settings

zeke/npm-registry-cors-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-registry-cors-proxy

The npm registry dishes up extensive JSON info about its modules, but it doesn't support CORS. Enter the proxy!

jQuery/Zepto Example Usage

$(function() {
  var url = "http://npm-registry-cors-proxy.herokuapp.com/colors";
  return $.getJSON(url, function(module) {
    console.log(module);
  });
});

Check out a sample on codepen.io.

About

The npm registry dishes up extensive JSON info about its modules, but it doesn't support CORS. Enter the proxy!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%