yes-no-words
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

yes-no-words

Get yes/no-like words

The lists are just JSON files and can be used anywhere.

Install

npm install yes-no-words

Usage

import yesNoWords from 'yes-no-words';

yesNoWords.yesRandom();
//=> 'Yisss'

API

.yes

Type: string[]

Yes like words.

.no

Type: string[]

No like words.

.all

Type: string[]

Both yes and no like words.

.yesRandom()

Type: Function

Random yes like words.

.noRandom()

Type: Function

Random no like words.

.allRandom()

Type: Function

Random yes or no like words.

CLI

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]

Related

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.02latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.02
2.0.02
1.4.04
1.3.00
1.2.00
1.1.00
1.0.20
1.0.12
1.0.00

Package Sidebar

Install

npm i yes-no-words

Weekly Downloads

10

Version

3.0.0

License

MIT

Unpacked Size

6.69 kB

Total Files

8

Last publish

Collaborators

  • sindresorhus