oraoni v0.2.0
Installation
npm install oraoni
Features
- Adds vibrant colors to console messages.
- Supports customizable text color, background color, and text styles.
Usage
const oraoni = require('oraoni');
// Example with message
console.log(oraoni.red('This text is in red');)
Customization
Oraoni provides extensive customization options for text colors, background colors, and styles. You can easily tailor your console messages using the following options:
Text Colors
oraoni.red('This text is in red');
oraoni.blue('This text is in blue');
Available text colors: black, red, green, yellow, blue, purple, cyan, white.
Background Colors
oraoni.bgRed('This text has a red background');
oraoni.bgBlue('This text has a blue background');
Available background colors: black, red, green, yellow, blue, purple, cyan, white.
Text Styles
oraoni.bold('This text is bold');
oraoni.underline('This text is underlined');
Available text styles: reset, bold, dim, italic, underline, reverse, hidden, strikethrough.
Configuration
You can configure Oraoni's behavior using the setup
method. Example:
oraoni.setup({
colors: true,
bgColors: true,
styles: true });
colors
: Enable/disable text colors.bgColors
: Enable/disable background colors.styles
: Enable/disable text styles.
Contributing
Feel free to contribute to Oraoni by opening issues or creating pull requests. Your feedback and enhancements are highly appreciated!
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago