Skip to content

robojona/southpark-names

Repository files navigation

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.