Get the name of README file in a directory.
var readmeFile = require('readme-file');
readmeFile('.')
//=> "/path/to/README.md"
try {
readmeFile('/tmp')
}
catch (err) {
err.message
//=> "README file not found in /tmp"
}
Returns the path to README file in the directory or throws an error.
npm install readme-file
MIT