0.6.6 • Published 8 years ago

dep-rep v0.6.6

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

dep-rep

Build Status Dependency Status devDependency Status

Dependency reporter for npm

Get started

CLI usage

npm i -g dep-rep

From 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:

Image of CLI output

Or, if everything is fine:

Image of CLI output

Node usage

npm i -D dep-rep
const 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 test

Generate coverage

npm run coverage
0.6.6

8 years ago

0.6.5

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.5

8 years ago

0.5.4

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.4.0

8 years ago

0.3.12

8 years ago

0.3.11

8 years ago

0.3.10

8 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago