packity
v0.3.5
Published
Sanity test for installed node modules of a package
Downloads
9,835
Readme
packity
Sanity check of installed packages as per package.json
Usage
CLI
npm install packity@beta -g;
packity check <module-folder>
use
packity check --help
for more CLI options
Module
var packity = require('packity');
packity({ path: 'my-path', dev: true}, function (err, results) {
// results look like
// {
// "package": {} // name, version, dependencies
// "installed": {} // list of installed modules
// "status": {} // status of package dependencies with 'message', 'code', 'ok' keys.
// }
console.log(results);
});