contributors-gen

1.1.5 • Public • Published

contributors-gen

contributors-gen generates a CONTRIBUTORS file and can be used on GitHub repositories.

API

Install:

npm install --save contributors-gen

Importing:

const contributorsGen = require('contributors-gen');

Using:

contributorsGen({
  write /* boolean: Whether to write to the file or not (default: false) */,
  includeBots /* boolean: Whether to include bots in the results or not (default: false) */,
  comments /* array|string: The comments to prepended at the top (default: []) */,
  fileName /* string: The filename to write to, if writing enabled (default: 'CONTRIBUTORS') */,
  sort /* string|function: The method in which to sort the results (default: 'abc') */
});

Package Sidebar

Install

npm i contributors-gen

Weekly Downloads

1

Version

1.1.5

License

MIT

Unpacked Size

6.4 kB

Total Files

4

Last publish

Collaborators

  • saiansh2525