npm-sustainability

1.0.0-beta.1 • Public • Published

collect sustainability data for your npm dependencies

Command Line Program

To run with npx:

cd your-npm-project
npx npm-sustainability

To install and use npm-sustainability globally:

npm install --global npm-sustainability
cd your-npm-project
npm-sustainability

To install as a development dependency of your package:

cd your-npm-project
npm install --save-dev npm-sustainability

For output as newline-delimited JSON objects, for further processing:

cd your-npm-project
npm-sustainability --ndjson

JavaScript Module

The package exports an asynchronous function of three arguments:

  1. A configuration object.

  2. The path of the package to check.

  3. An error-first callback that yields:

    • an array of objects, one per project

    • an array of URIs that failed to download or validate

Readme

Keywords

none

Package Sidebar

Install

npm i npm-sustainability

Weekly Downloads

1

Version

1.0.0-beta.1

License

MIT

Unpacked Size

73.3 kB

Total Files

6

Last publish

Collaborators

  • kemitchell