bmalehorn / codeowners

πŸ‘ audit your CODEOWNERS file

Home Page:https://npmjs.org/codeowners

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codeowners

A tool for interacting with GitHub's CODEOWNERS files.

Usable as a CLI, or as a library.

installation

$ npm install -g codeowners

cli usage

Print a list of each files in the current repo, followed by its owner:

$ codeowners audit

To find a list of files not covered by the CODEOWNERS in the project:

$ codeowners audit --unowned

library usage

const Codeowners = require('codeowners');

// workingDir is optional, defaults to process.cwd()
const repos = new Codeowners(workingDir);
repos.getOwner('path/to/file.js'); // => array of owner strings, e.g. ['@noahm']

About

πŸ‘ audit your CODEOWNERS file

https://npmjs.org/codeowners


Languages

Language:JavaScript 100.0%