Skip to content

Yash-Singh1/contributors-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contributors-gen

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

API

Install:

npm install 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') */
});