Socket
Book a DemoInstallSign in
Socket

yes-no-words

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yes-no-words

Get yes/no-like words

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

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]
  • 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

Keywords

cli-app

FAQs

Package last updated on 30 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts