1.0.2 • Published 7 years ago

southpark-names v1.0.2

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

southpark-names

Travis build VersionDownloads

Get names of South Park characters.

Image

Installation

npm install southpark-names

Usage

var southParkNames = require('southpark-names');

var randomName = southParkNames.random();
console.log("Oh my god they killed " + randomName + "!");
//=> 'Oh my god they killed Kenny McCormick!'

var allNames = southParkNames.all;
console.log(allNames);
//=> 'Stan Marsh'
//=> 'Kyle Broflovski'
//=> '...'

API

.random()

Type: function

Random character name.

.all

Type: array

All South Park characters.