1.2.4 • Published 8 years ago

package-checker v1.2.4

Weekly downloads
3
License
MIT
Repository
github
Last release
8 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

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago