1.2.3 • Published 6 years ago

needs-pkg-install v1.2.3

Weekly downloads
441
License
MIT
Repository
github
Last release
6 years ago

needs-pkg-install

You can know if you shold npm install.

needs-pkg-install compares dependency versions in package-lock.json and actually installed library versions in node_modules directory, and returns true if found differences.

Instalation

$ npm install needs-pkg-install

Usage

const needsPkgInstall = require('needs-pkg-install')

const packageDirectory = '.'
needsPkgInstall(packageDirectory).then(console.log)
// true or false
1.2.3

6 years ago

1.2.2

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago