nodechecker

A simple wrapper around the nodechecker.com API.

nodechecker

A simple wrapper around the nodechecker.com API.

npm install nodechecker

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

var nodechecker = require('nodechecker')

Calls callback with either an Error or an Object of global Nodechecker stats, such as ok, the number of successfully-tested modules.

Calls callback with either an Error or an Object of stats local to module, including its status (e.g. "ok") and the output of running the tests.

Calls callback with either an Error or an Array of the names of all modules that timed out during testing.

Calls callback with either an Error or an Array of the names of all modules that had invalid tarballs during testing.

Calls callback with either an Error or an Array of the names of all modules that contained only passing tests.

Calls callback with either an Error or an Array of the names of all modules that contained at least one failing test.

Calls callback with either an Error or an Array of the names of all modules that did not contain tests.

Please fork and submit a pull request. However:

  • Please don't add dependencies unless they're necessary. request should meet most of your needs.