Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

d-pac.plugins-parser

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d-pac.plugins-parser

Plugin parser module for d-pac platform

latest
Source
npmnpm
Version
1.2.2
Version published
Weekly downloads
7
75%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

d-pac

FAQs

Package last updated on 13 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts