README
List of Lists
Should I call this package “Miscellaneous”?
npm install miscellaneous
, ha-ha!
Get random values from assorted lists. Written in ES6.
Install
npm install list-of-lists
API by examples
import list, { lists } from 'list-of-lists';
list.animal() // 'zebra'
list.animal(1) // [ 'giraffe' ]
list.animal(2) // [ 'elephant', 'mouse' ]
lists // { 'animal': [ ... ], 'buzzWordOne': [ ... ] }
Available lists
alphabetLowercase
alphabetUppercase
animal
(single)animals
(plural)buzzWordMore
buzzWordOne
buzzWordTwo
citiesOfUSA
citiesOfUSAtop20
emoijiCelebration
emoji
(all emoji below)emojiActivity
emojiFoodAndDrink
emojiNature
emojiPeople
firstTenAsStrings
fitterHappier
lastNames
letterPairs
letters
letterTriples
magicNumbers
movieQuotes
names
nouns
pitchforkBestSongs2014
reserved
threeLetterWords
twoLetterWords
variableNames
vegetables
verbs
Chinese classification of animals
The list divides all animals into one of 14 categories:
- Those that belong to the emperor
- Embalmed ones
- Those that are trained
- Suckling pigs
- Mermaids (or Sirens)
- Fabulous ones
- Stray dogs
- Those that are included in this classification
- Those that tremble as if they were mad
- Innumerable ones
- Those drawn with a very fine camel hair brush
- Et cetera
- Those that have just broken the flower vase
- Those that, at a distance, resemble flies
Celestial Emporium of Benevolent Knowledge
Pull requests are welcome!
Future
It should be like database, so you can use custom queries:
pick('city, USA, top20', 3)
See also: top 20 usa citites
query in Wolfram Alpha.