1.0.1 • Published 5 years ago
choice-generator v1.0.1
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-generatoror if you are using the function do it normally:
npm i choice-generatorUsage
To use this you want to run this command after installing it:
choice-generator --helpThis will display the help page to use the command.
Otherwise:
choice-generator gen Hello World,How are you?,Hope you are doing fineOr 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);