Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arjunrao87/racehorse-names

Names of Stallions that have raced in the past
https://github.com/arjunrao87/racehorse-names

cli horse horses mares names nodejs stallions

Last synced: about 5 hours ago
JSON representation

Names of Stallions that have raced in the past

Awesome Lists containing this project

README

        

# Racehorse Names

![](racehorse.jpg)

Gives you names of racing horses 🏇🏻 🎠 🐴

List of names includes horses that have won the Kentucky Derby and the Belmont Stakes as well as a whole bunch of other famous stallions of lore.

Can be used as an [NPM](https://www.npmjs.com/package/racehorse-names) library or CLI

# NPM usage

```
yarn add racehorse-names
```
```
const racehorses = require('racehorse-names');

racehorses.random;
//=> 'Secretariat'

racehorses.all;
//=> Get back 500 horses in alphabetical order
```

# CLI usage

```
yarn global add racehorse-names
```

```
$ racehorse-names --help

Examples
$ racehorse-names
Secretariat

$ racehorse-names --all
A.P. Indy
Adios Butler
...

Options
--all Get all names instead of a picking a random one
```