dvc
v0.1.1
Published
Checks for outdated dependencies
Downloads
6
Readme
Dependency Version Checker
Installation
npm install --save dvc
npm install -g dvc
Usage
Command line
dvc [--registry <url>] [<pkg-name>[ <pkg-name>]]
Flags | Default | Description -------- | --------------------------- | ----------- registry | https://registry.npmjs.org/ | Registry url
When called without
pkg-name
, it will look forpackage.json
in the current working directory.
API
const DVC = require('dvc')
const dvc = new DVC({
registry: 'http://localhost/registry'
})
dvc.check('i18n-light', 'ipc-emitter')
.then((info) => {
console.info(info)
})