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)
用户参与
星數134
關注者數7
派生數13
提交數31
已啟用問題?
問題數0
打開的問題數0
拉請求數6
打開的拉請求數0
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?