Get yes/no words from the World
The lists are just JSON files and can be used wherever.
$ npm install --save yes-no-i18n
const yesNoWords = require('yes-no-i18n');
yesNoWords.yesRandom();
//=> 'Yisss'
Type: array
Yes words.
Type: array
No words.
Type: array
Both yes and no words.
Type: function
Random yes words.
Type: function
Random no words.
Type: function
Random yes words, with a suffix of what language it's in.
Так - that's in Belarusian
Type: function
Random no words, with a suffix of what language it's in.
dili - that's in Cebuano
Type: function
Random yes or no words.
$ npm install --global yes-no-i18n
$ yes-no --help
Examples
$ yes-no
Éwè
$ yes-no --all --type yes
Zee
हाँ
$ yes-no --type no --which
neen - that's in Luxembourgish
...
Options
--all Get all words instead of a random word
--type Type of word: yes|no|all Default: all
--which Include the language of the word
- yes-no - Get yes/no like words. (our parent!)
- cat-names - Get popular cat names
- dog-names - Get popular dog names
- pokemon - Get Pokémon names
- superheroes - Get superhero names
- supervillains - Get supervillain names
- superb - Get superb like words
MIT © NewAlexandria