randomizer-toolkit-cli
v1.0.1
Published
A comprehensive CLI toolkit for randomization tasks
Downloads
6
Maintainers
Readme
randomizer-toolkit-cli
A comprehensive CLI toolkit for randomization tasks. This tool provides an easy-to-use command-line interface for generating random names, numbers, and words. It's inspired by and complements the services offered at RandomGenerator.ai.
Features
- Generate random names from a comprehensive list of real names
- Generate random numbers within a specified range
- Generate random words of a specified length
- Customizable output count for all generators
Installation
You can install randomizer-toolkit-cli globally using npm:
npm install -g randomizer-toolkit-cli
Usage
The general syntax for using randomizer-toolkit-cli is:
randomizer-toolkit generate [options]
Options
-t, --type <type>
: Type of item to generate (name, number, word)-c, --count <number>
: Number of items to generate (default: 1)-m, --min <number>
: Minimum value for number generator (default: 0)-M, --max <number>
: Maximum value for number generator (default: 100)-l, --length <number>
: Length for word generator (default: 5)
Examples
Generate 5 random names:
randomizer-toolkit generate -t name -c 5
Generate 10 random numbers between 1 and 100:
randomizer-toolkit generate -t number -c 10 -m 1 -M 100
Generate 3 random words, each 8 characters long:
randomizer-toolkit generate -t word -c 3 -l 8
Development
To set up the project for development:
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
- Run tests:
npm test
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Related
For a web-based interface with even more randomization tools, visit RandomGenerator.ai. Our website offers additional features like random movie suggestions, dinner ideas, and AI-powered generators.
License
This project is licensed under the MIT License.