1.2.2 • Published 10 years ago

d-pac.plugins-parser v1.2.2

Weekly downloads
2
License
GPL v3
Repository
github
Last release
10 years ago

NPM version Build Status Dependency Status

Plugin parser module for d-pac platform

Options

All options are optional, both in the CLI tool and the node module.

  • verbose : default=false, whether to log verbose output or not
  • dir : default=process.cwd(), what directory should be used as a starting point
  • manifest : default="package.json", which file contains the dependencies declaration

Command-line tool

Install

$ npm install -g d-pac.plugins-parser

Usage

$ d-pac-plugins <dir> --manifest=<manifest> --verbose

Example

$ d-pac-plugins ../ --manifest=dependencies.json --verbose

Output:

Node module

Install

$ npm install -S d-pac.plugins-parser

Usage

var parser = require('d-pac.plugins-parser');

parser();

Will search in the process.cwd() or nearest ancestor directory for a package.json. Once found it will parse its dependencies and check them one by one for a d-pac entry (in their respective package.json) and output any plugin configurations it finds. See d-pac.plugin specifications for more information

Example

var parser = require('d-pac.plugins-parser');

parser({
    verbose : false,
    dir : "../",
    manifest : "dependencies.json"
});

Output:

License

GPL v3 © d-pac

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago