dota2-heroes
Version:
Get random Dota 2 hero name
32 lines (21 loc) • 700 B
Markdown
# dota2-heroes
> Get a random Dota 2 hero name.
[![NPM][dota2-heroes-icon]][dota2-heroes-url]
## Last added hero

## Installation
This package is distributed via npm:
```
npm install dota2-heroes
```
## Usage
```javascript
import { all, random } from 'dota2-heroes';
const allNames = all;
const randomName = random();
const threeRandomNames = random(3);
```
## Contributing
[How to contribute](https://github.com/Den-dp/dota2-heroes/blob/master/CONTRIBUTING.md)
[dota2-heroes-icon]: https://nodei.co/npm/dota2-heroes.svg?downloads=true
[dota2-heroes-url]: https://npmjs.org/package/dota2-heroes