registry
dylang opened this issue · comments
return $http.jsonp('http://isaacs.iriscouch.com/registry/_design/scratch/_view/byField', {
This is probably not up to date anymore and might be going away soon.
The new skimdb registy is at https://registry.npmjs.org/, though I don't know how to find the same view.
Yes, I would love to.Unfortunately registry.npmjs.org
does not currently support
jsonp - npm/npm-registry-couchapp#157
or CORS - npm/npm-registry-couchapp#108
I hope @isaacs can get to it sooner than iriscouch endpoint gets deprecated...
@anvaka Hacked together a proxy if you want to use it while you wait for official jsonp / cors support.
example usage:
http://npmjsonp.herokuapp.com/?path=-%2F_view%2FbyField%3Fcallback%3Dfoo%26limit%3D10
or
http://npmjsonp.herokuapp.com/?path=-%2F_view%2FbyField%3Fcallback%3Dfoo%26limit%3D10&callback=wut
Spent very little time on it, so it could be complete shit. You can check it out here
Thank you!
On Sep 9, 2014, at 5:49 PM, Connor Hindley notifications@github.com wrote:
@anvaka Hacked together a proxy if you want to use it while you wait for official jsonp / cors support.
example usage:
http://npmjsonp.herokuapp.com/?path=-%2F_view%2FbyField%3Fcallback%3Dfoo%26limit%3D10
orhttp://npmjsonp.herokuapp.com/?path=-%2F_view%2FbyField%3Fcallback%3Dfoo%26limit%3D10&callback=wut
Spent very little time on it, so it could be complete shit. You can check it out here—
Reply to this email directly or view it on GitHub.
So, looks like this is broken now.
http://isaacs.iriscouch.com/registry/_design/scratch/_view/byField?keys=%5B%22mquery%22%5D
vs
https://skimdb.npmjs.com/registry/_design/scratch/_view/byField?keys=%5B%22mquery%22%5D
@isaacs registry returns outdated information :(...
The IrisCouch url has not been valid since February 2014. Please stop using it. The official supported CouchDB endpoint is https://skimdb.npmjs.com
Thank you @isaacs . https://skimdb.npmjs.com does not support CORS or JSONP, which disable client-side only implementation of this http://npm.anvaka.com/#/view/2d/npm
If only it was supporting CORS, I'd be the happiest man in the world :)!