node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


A dead simple CORS proxy

Tiny CORS proxy to allow JS in the browser to access a remote service.

$ tinycors.js --port 8899

Now (using jQuery) try a

$.get('http://localhost:8899/w/api.php?action=query&prop=categories&format=json&titles=London', function (result) {

First install npm

$ curl | sh

Then tinycors

$ npm install -g tinycors