npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

lifion-verify-deps

1.0.1 • Public • Published

lifion-verify-deps

Verifies that installed NPM modules are the latest currently available version.

Getting Started

To install the module:

npm install lifion-verify-deps --global

To run command:

lifion-verify-deps

To use as module:

const verifyDeps = require('lifion-verify-deps');
 
verifyDeps({ dir: './path-to/project-directory' })
  .then(() => /* all installed packages up to date */)
  .catch((err) => /* there are packages to be updated */)

API Reference

verifyDeps([options]) ⏏

Verifies the dependencies listed in the package.json of the given directory.

Kind: Exported function

Param Type Description
[options] Object Optional parameters.
[options.dir] string The path where to look for the package.json file.
[options.logger] Object A logger instance, with a similar API as the console object.

License

MIT

install

npm i lifion-verify-deps

Downloadsweekly downloads

4

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability