dep-rep v0.6.6
dep-rep
Dependency reporter for npm
Get started
CLI usage
npm i -g dep-repFrom then on, you can run dep-rep in any folder containing a package.json.
Check dep-rep -h for more CLI options.
Path declaration
-p or --path can be a local or a remote (https) path to a package.json, e.g.
Local:
dep-rep -p="../dep-rep/package.json"
# or
dep-rep -p="/Users/user/dev/dep-rep/package.json"Remote:
dep-rep -p="https://raw.githubusercontent.com/kevin-smets/dep-rep/master/package.json"Output example
Output will look like this:

Or, if everything is fine:

Node usage
npm i -D dep-repconst depRep = require('dep-rep');
depRep.analyze(options)
  .then(function(result){
    console.log(result);
  })
  .catch(function(err){
    console.log("Ruh Roh: " + err);
  })options is an object that takes the same properties as the CLI parameters (except for version). E.g. options.silent = true.
The returned result is not a contract set in stone yet (this module is still in prerelease status).
TODO
- add bower support
 - add dependency management
 - handle -alpha or -rc.1 versions
 
Contribute
Run tests
npm testGenerate coverage
npm run coverage9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago