Socket
Socket
Sign inDemoInstall

generate-codeowners

Package Overview
Dependencies
1
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generate-codeowners

[![NPM](https://img.shields.io/npm/v/generate-codeowners.svg?style=flat-square)](https://www.npmjs.com/package/generate-codeowners)


Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Generate Codeowners

NPM

Original use case was to introduce CODEOWNERS-files within an organization with a large amount of repositories. The idea was to generate a file based on the Git-history.

Execute it with:

npx generate-codeowners

Parameters:

Usage: generate-codeowners [options]

Options:
  -gd, --gitdir <dir>                   Directory with Git repository. (default: "generate-codeowners")
  -s, --since <time>                    Same as Git:s <since> format. (default: "365.day.ago")
  -micc, --minimumcommitcount <number>  Ignore committers with less commits. (default: "0")
  -manc, --maximumnumberofcommitters    Include most active committers (default: "100")
                              <number>
  -id, --identifier <committerEmail|    What to add as identifer. (default: "committerEmail")
                    committerEmailUser|
                    committerName>
  -ii, --ignoreidentifiers <regexp>     Regexp to test against identifer. (default: "noreply")
  -cf, --codeownersfile <name>          The CODEOWNERS-file (default: "CODEOWNERS")
  -d, --dryrun                          Do not change anything, just print what would be changed. (default: false)
  -v, --version                         Display version (default: false)
  -h, --help                            display help for command

Keywords

FAQs

Last updated on 17 Oct 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc