0.0.0 • Published 10 years ago

http-npm v0.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

http-npm

An http interface to npm which allows resolving module version and module tarballs.

GET /:moduleName/versions.json

returns 404 if :moduleName doesn't exist

returns 200 application/json if found sets cache headers

{
  versions: [
    "0.0.0",
    "0.0.1"
  ]
}

GET /:moduleName/:version.tgz

returns 404 if :moduleName@:version doesn't exist

returns 200 application/octet-stream if found sets cache headers

implementations

An s3 proxy and a couch proxy are provided as implementations.

license

mit