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/--width option for manual column width