New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

the-big-bang-theory

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

the-big-bang-theory

Fetch random name of character in The Big Bang Theory

latest
Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

the-big-bang-theory Build Status

Fetch random name of character in The Big Bang Theory

the-big-bang-theory

Photo credit : The Big Bang Theory Wiki

This project highly learned from sindresorhus/superb.

The name lists are just JSON files and can be used wherever you want.

Installation

$ npm i --save the-big-bang-theory

Usage

var theBigBangTheory = require('the-big-bang-theory');  // Conventional but classic way
import theBigBangTheory from 'the-big-bang-theory';     // Or much more modern ES6  way

theBigBangTheory();
// Leonard

theBigBangTheory();
// Sheldon

theBigBangTheory.words;
// ['Leonard', 'Sheldon', ...]

API

theBigBangTheory()

Type: string

Generate random character's name in The Big Bang Theory.

theBigBangTheory.names

Type: array

Fetch all of the names.

CLI

$ npm i the-big-bang-theory -g
$ npm the-big-bang-theory --help
  
  Get random name of The Big Bang Theory

  Examples
    $ the-big-bang-theory
    Leonard

    $ the-big-bang-theory --all
    Leonard
    Sheldon
    Penny
    ...

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

License

MIT © WeiChiaChang

Keywords

the-big-bang-theory

FAQs

Package last updated on 09 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts