1.2.4 • Published 9 years ago

package-checker v1.2.4

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

package-checker

A simple plugin to compare currently installed packages with list in package.json file.

Installation

project: npm install package-checker --save-dev

global: npm install package-checker -g

Usage

project:

var packageChecker = require('package-checker');
packageChecker(options, callback);

global: package-checker [options]

API

package-checker options

options

-d, --dev

Type: boolean

Default: true

Check dependencies from package.json file

-p, --prod

Type: boolean

Default: true

Check devDependencies from package.json file

-D, --directory

Type: string

Default: process.cwd()

Path to directory having node_modules directory

-P, --path

Type: string

Default: process.cwd() + '/package.json'

Path to package.json file

-v, --version

Print current version of package-checker

-h, --help

Print help information

package-checker(options, callbak)

options

path

The same as --path for CLI tool

directory

The same as --dir for CLI tool

prod

The same as --prod for CLI tool

dev

The same as --dev for CLI tool

callback

Type: function

Arguments: error, output

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago