https://github.com/indexzero/npm-pipeline
Analysis pipeline for npm packages
https://github.com/indexzero/npm-pipeline
Last synced: 4 months ago
JSON representation
Analysis pipeline for npm packages
- Host: GitHub
- URL: https://github.com/indexzero/npm-pipeline
- Owner: indexzero
- License: apache-2.0
- Created: 2014-04-05T20:28:04.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-28T21:55:17.000Z (over 11 years ago)
- Last Synced: 2025-10-19T20:52:13.199Z (8 months ago)
- Language: JavaScript
- Size: 316 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
``` js
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](https://github.com/indexzero)
##### Contributors: [Jarrett Cruger](https://github.com/jcruggz), [Jane Kim](https://github.com/janecakemaster)