0.5.0 • Published 11 years ago
list-of-lists v0.5.0
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-listsAPI 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
alphabetLowercasealphabetUppercaseanimal(single)animals(plural)buzzWordMorebuzzWordOnebuzzWordTwocitiesOfUSAcitiesOfUSAtop20emoijiCelebrationemoji(all emoji below)emojiActivityemojiFoodAndDrinkemojiNatureemojiPeoplefirstTenAsStringsfitterHappierlastNamesletterPairslettersletterTriplesmagicNumbersmovieQuotesnamesnounspitchforkBestSongs2014reservedthreeLetterWordstwoLetterWordsvariableNamesvegetablesverbs
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.