Package Exports
- codeowners
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (codeowners) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
codeowners
A tool for interacting with GitHub's CODEOWNERS files.
Usable as a CLI, or as a library.
installation
$ npm install -g codeownerscli usage
Print a list of each files in the current repo, followed by its owner:
$ codeowners auditTo find a list of files not covered by the CODEOWNERS in the project:
$ codeowners audit --unownedSpecify a non-standard CODEOWNERS filename
$ codeowners audit -c CODEKEEPERSVerify users/teams own a specific path
$ codeowners verify src/ @foob_ar @contoso/engineerslibrary 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']CHANGELOG
5.0.0
- Much-improved performance
- Removal of automatic column width calculation
- Addition of
-w/--widthoption for manual column width- Or use e.g.
codeowners audit | column -ts " "
- Or use e.g.