wzrd.in
wzrd.in copied to clipboard
API for getting list of versions for a module
GET /modulename
=>
{"name": "modulename, "versions": ["0.0.1", "0.0.2"]}
versions[versions.length - 1] should be equivalent to @latest
One suggestion is to just use npm for that, since this would basically be proxying to npm anyway.
It occurs to me that npm might not be CORS-enabled like browserify-cdn is. That, and there's all kinds of other information this could support (such as cache information).
:+1: for list of versions