1.1.3 • Published 3 years ago

npm-authors-contributors v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

List authors and contributors of your npm dependencies.

Command Line Program

To run with npx:

cd your-npm-project
npx npm-authors-contributors

To install and use npm-authors-contributors globally:

npm install --global npm-authors-contributors
cd your-npm-project
npm-authors-contributors

To install as a development dependency of your package:

cd your-npm-project
npm install --save-dev npm-authors-contributors

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

cd your-npm-project
npm-authors-contributors --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 author and contributor, with optional name, url, and email properties.