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

https://github.com/weichiachang/regular-show

🎮 Get random name of Regular Show
https://github.com/weichiachang/regular-show

regular-show regular-show-cli

Last synced: 11 months ago
JSON representation

🎮 Get random name of Regular Show

Awesome Lists containing this project

README

          

## regular-show [![Build Status](https://travis-ci.org/WeiChiaChang/regular-show.svg?branch=master)](https://travis-ci.org/WeiChiaChang/regular-show)
> Get random name of Regular Show

![regular-show](https://i.imgur.com/WBuT5e3.jpg)

Photo credit : [3 Very Important Life Lessons From Regular Show](https://www.theodysseyonline.com/3-very-important-life-lessons-from-regular-show)

This name lists are just JSON files and you can use wherever.

Being a super fans of Regular Show, I have to do something to commemorate my favorite cartoon.

This project highly learned from [sindresorhus/superb](https://github.com/sindresorhus/superb).

## Installation
```shell
$ npm i --save regular-show
```

## Usage
```shell
var regularShow = require('regular-show'); // Conventional but classic way
import regularShow from 'regular-show'; // Or much more modern ES6 way

regularShow();
// Mordecai

regularShow();
// Rigby

regularShow.words;
// ['Mordecai', 'Rigby', ...]
```

## API
regularShow()

Type: `string`

Generate random character's name of Regular Show.

regularShow.names

Type: `array`

Fetch all of the names.

## CLI
```shell
$ npm i regular-show -g
```

```shell
$ npm regular-show --help

Get random name of Regular Show

Examples
$ regular-show
Mordecai

$ regular-show --all
Rigby
Eileen
Muscle Man
...

Options
--all Fetch all the names rather than a random name
```

## License
MIT © [WeiChiaChang](https://github.com/WeiChiaChang)