0.1.1 • Published 11 years ago

npm-web-api v0.1.1

Weekly downloads
4
License
-
Repository
-
Last release
11 years ago

NPM Web API Wrapper for Node

A simple collection of useful npm.org requests.

Installation

npm install npm-web-api

Usage

Requiring npm-web-api returns an object of Functions as described below. No new required, nothing to create, nada. In the descriptions, npmapi refers to the returned module instance as if preceded by:

var npmapi = require('npm-web-api')

npmapi.getModulesByUser(username, callback)

Calls callback with either an Error or an Array of module names maintained by username, expressed as a String.

Contributing

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. request should meet most of your needs.