sprintnamegenerator
v1.1.3
Published
A simple library for generating sprint names.
Downloads
28
Readme
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