choice-generator

1.0.1 • Public • Published

Choice Generator

This is a package that is mainly used for its CLI. But if you need it you can use the random choice generator funcion from the package.

Installation

To start off you want to install it, to do so run this command.

npm i -g choice-generator

or if you are using the function do it normally:

npm i choice-generator

Usage

To use this you want to run this command after installing it:

choice-generator --help

This will display the help page to use the command.

Otherwise:

choice-generator gen Hello World,How are you?,Hope you are doing fine

Or if you are using the function here is an example:

const { generate } = require('choice-generator');

let res = generate("Hello World", "How are you?");

console.log(res);
Made by Micc.
Notes:
MAKE SURE TO HAVE A "," INSTEAD OF A SPACE BETWEEN CHOICES USING THE CLI. ONLY USE SPACES LIEK THIS EXAMPLE "Hello World"

Readme

Keywords

none

Package Sidebar

Install

npm i choice-generator

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.78 kB

Total Files

4

Last publish

Collaborators

  • micc281