99

GitHub - WeiChiaChang/regular-show: ? Get random name of Regular Show

 6 years ago
source link: https://github.com/WeiChiaChang/regular-show
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

regular-show

Get random name of Regular Show

regular-show

Photo 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.

Installation

$ npm i --save regular-show

Usage

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', ...]

regularShow()

Type: string

Generate random character's name of Regular Show.

regularShow.names

Type: array

Fetch all of the names.

$ npm i regular-show -g
$ 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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK