1.1.3 • Published 3 years ago
npm-authors-contributors v1.1.3
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:
A configuration object.
The path of the package to check.
An error-first callback that yields an array of objects, one per author and contributor, with optional
name
,url
, andemail
properties.