sprintnamegenerator
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

SprintNameGenerator

A simple lib to generate a sprint name using a random adjective and a random animal name.

Installation

npm install sprintnamegenerator

Example code

var nameGenerator = require('sprintnamegenerator');

// Use default sets
console.log(nameGenerator.generateRandomName());

// Use included sets
var word1options = {
    includeAdjectives: true
};

var word2options = {
    includeColors: true
};

var word3options = {
    includeAnimals: true,
    includeMythicalAnimals: true
};

console.log(nameGenerator.generateRandomName([word1options, word2options, word3options]));

// Use included and custom sets
var customOptions = {
    customWordSet: ['Rick', 'Morty', 'Jerry', 'Summer', 'Beth']
};

console.log(nameGenerator.generateRandomName([word1options, customOptions]));

Example names

  • Everlasting Black Widow Spider
  • Mild Pigeon
  • Blind Bedlington Terrier
  • Youthful Horned Frog
  • Ancient Loach

Readme

Keywords

none

Package Sidebar

Install

npm i sprintnamegenerator

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

58.1 kB

Total Files

19

Last publish

Collaborators

  • rainly