1.0.0-beta.1 • Published 7 years ago
npm-sustainability v1.0.0-beta.1
collect sustainability data for your npm dependencies
Command Line Program
To run with npx:
cd your-npm-project
npx npm-sustainabilityTo install and use npm-sustainability globally:
npm install --global npm-sustainability
cd your-npm-project
npm-sustainabilityTo install as a development dependency of your package:
cd your-npm-project
npm install --save-dev npm-sustainabilityFor output as newline-delimited JSON objects, for further processing:
cd your-npm-project
npm-sustainability --ndjsonJavaScript Module
The package exports an asynchronous function of three arguments:
A configuration object.
The path of the package to check.
An error-first callback that yields:
an array of objects, one per project
an array of URIs that failed to download or validate
1.0.0-beta.1
7 years ago