A simple plugin to compare currently installed packages with list in package.json file.
project:
npm install package-checker --save-dev
global:
npm install package-checker -g
project:
var packageChecker = require('package-checker');
packageChecker(options, callback);
global:
package-checker [options]
Type: boolean
Default: true
Check dependencies
from package.json
file
Type: boolean
Default: true
Check devDependencies
from package.json
file
Type: string
Default: process.cwd()
Path to directory having node_modules
directory
Type: string
Default: process.cwd() + '/package.json'
Path to package.json
file
Print current version of package-checker
Print help information
The same as --path
for CLI tool
The same as --dir
for CLI tool
The same as --prod
for CLI tool
The same as --dev
for CLI tool
Type: function
Arguments: error
, output