readme-file
0.2.0 • Public • Published
readme-file
Get the name of README file in a directory.
Example
var readmeFile = require('readme-file');
readmeFile('.')
try {
readmeFile('/tmp')
}
catch (err) {
err.message
}
API
readmeFile(dir)
Returns the path to README file in the directory or throws an error.
Install
npm install readme-file
License
MIT
Package Sidebar
Install
Weekly Downloads