yes-no-words

Get yes/no-like words

  • 所有者: sindresorhus/yes-no-words
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

yes-no-words Build Status

Get yes/no-like words

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

Install

$ npm install yes-no-words

Usage

const yesNoWords = require('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]

License

MIT © Sindre Sorhus

主要指标

概览
名称与所有者sindresorhus/yes-no-words
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-05-14 23:33:50
推送于2024-04-30 15:50:24
最后一次提交
发布数9
最新版本名称v3.0.0 (发布于 2024-04-30 22:50:03)
第一版名称v1.0.0 (发布于 2015-05-15 01:38:15)
用户参与
星数133
关注者数7
派生数13
提交数31
已启用问题?
问题数0
打开的问题数0
拉请求数6
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?