rainbowize

1.0.0 • Public • Published

Rainbowize

Rainbowize is a command-line utility that allows you to add colorful and text effects to input text, creating a rainbow-like visual effect. It provides options to choose different color schemes and apply bold or italic effects to the text. The utility reads input from stdin and outputs the formatted text to stdout.

Table of Contents

Installation

To use Rainbowize, you need to have Node.js installed on your machine. If you haven't already, you can download and install it from the official Node.js website.

  1. Open your terminal or command prompt.
  2. Run the following command to install Rainbowize globally:
npm install -g rainbowize

This will make the rainbowize command available globally in your terminal.

Now you're ready to use Rainbowize for colorful and text effect transformations!

Usage

Rainbowize CLI is designed to work with pipes. Here's the basic usage:

<cmd> | rainbowize [options]

Options:

  • -s, --scheme : Choose a custom color scheme for rainbowizing. Available options are listed in the Available Color Schemes section.
  • -b, --bold: Apply bold text effect.
  • -i, --italic: Apply italic text effect.
  • -h, --help: Show usage information.

Available Color Schemes

Rainbowize CLI provides the following custom color schemes to choose from:

  • angura
  • bohemia
  • ruri

Examples

  1. Basic usage with default settings:
echo "Hello, Rainbowize!" | rainbowize
  1. Applying bold effect and using a specific color scheme:
echo "Colorful and bold!" | rainbowize -b -s angura
  1. Using an input file with appyling italic effect:
cat input.txt | rainbowize -i

Contributing

Contributions are welcome! If you find a bug or have an idea for improvement, please open an issue or submit a pull request.

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Open a pull request to the main repository.

License

This project is licensed under the GNU GPL. See the LICENSE file for details.

Package Sidebar

Install

npm i rainbowize

Weekly Downloads

3

Version

1.0.0

License

GPL-3.0

Unpacked Size

53.4 kB

Total Files

15

Last publish

Collaborators

  • devmisterio