0.1.1 • Published 9 years ago
dvc v0.1.1
Dependency Version Checker
Installation
npm install --save dvcnpm install -g dvcUsage
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.jsonin 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)
})