Get random name of Regular Show
npm install regular-showPhoto credit : 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.
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 wayregularShow();
// Mordecai
regularShow();
// Rigby
regularShow.words;
// ['Mordecai', 'Rigby', ...]
`API
regularShow()Type:
stringGenerate random character's name of Regular Show.
regularShow.names
Type:
arrayFetch 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
``