A collection of useful npm.org requests.
A simple collection of useful npm.org requests.
npm install npm-web-api
npm-web-api returns an object of Functions as described below. No
new required, nothing to
create, nada. In the descriptions,
to the returned module instance as if preceded by:
var npmapi = require('npm-web-api')
callback with either an Error or an Array of module names maintained by
username, expressed as a String.
callback with either an Error or an Object of package metadata for
module from it's latest package.json.
This module was initially created just for
getModulesByUser. To add more
methods, please fork and submit a pull request. However:
- Please don't add dependencies unless they're necessary.
requestshould meet most of your needs.