http-npm

0.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i http-npm

      Weekly Downloads

      0

      Version

      0.0.0

      License

      MIT

      Last publish

      Collaborators

      • supershabam