Get yes/no like words
The lists are just JSON files and can be used wherever.
$ npm install --save yes-no-words
const yesNoWords = require('yes-no-words');
yesNoWords.yesRandom();
//=> 'Yisss'
Type: array
Yes like words.
Type: array
No like words.
Type: array
Both yes and no like words.
Type: function
Random yes like words.
Type: function
Random no like words.
Type: function
Random yes or no like words.
$ npm install --global yes-no-words
$ yes-no --help
Examples
$ yes-no
Yisss
$ yes-no --all --type yes
Absolutely
Affirmative
...
Options
--all Get all words instead of a random word
--type Type of word: yes|no|all Default: all
- 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 © Sindre Sorhus