Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngryman/readme-filename

Get a project readme file name.
https://github.com/ngryman/readme-filename

Last synced: 21 days ago
JSON representation

Get a project readme file name.

Awesome Lists containing this project

README

        

# readme-filename

> Get a project readme file name.

[![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url]

[travis-image]: https://img.shields.io/travis/ngryman/readme-filename.svg?style=flat
[travis-url]: https://travis-ci.org/ngryman/readme-filename
[codecov-image]: https://img.shields.io/codecov/c/github/ngryman/readme-filename.svg
[codecov-url]: https://codecov.io/github/ngryman/readme-filename

## Install

```bash
npm install --save readme-filename
```

## Usage

```javascript
const readmeFilename = require('readme-filename')

readmeFilename().then(console.log)
// => readme.md

readmeFilename('some/path').then(console.log)
// => README.markdown
```

## License

MIT © [Nicolas Gryman](http://ngryman.sh)