Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

npm-pipeline

1.2.0 • Public • Published

npm-pipeline

An analysis pipeline for npm packages. Get your npm packages hot of the registry downloaded, unpacked, and (if desired) read and parsed with esprima

Usage

 
var pipeline = require('npm-pipeline');
 
pipeline('package-name', function (err, files) {
  //
  // The "files" array here will be a hierarchical object
  // containing all files read off of disk. If the file is
  // a Javascript file then it will be preparsed by `esprima`.
  //
});

Tests

Tests are written in tap:

npm test

License: Apache 2

Author: Charlie Robbins

install

npm i npm-pipeline

Downloadsweekly downloads

8

version

1.2.0

license

Apache2

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar