Package Exports
- @mattythedev01/justcolors
- @mattythedev01/justcolors/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mattythedev01/justcolors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@mattythedev01/justcolors Documentation
Overview
"@mattythedev01/justcolors", is a simple and lightweight color package to log stuff beautifully.
Features
- Wide range of color options including regular, bright, and pastel colors
- Background color support
- Text styling options (bold, italic, underline, etc.)
- Special effects like rainbow and gradient
- Semantic color functions for success, error, warning, etc.
- Easy-to-use API with simple function calls
- Supports chaining of colors and styles
- Compatible with Node.js environments
- Lightweight and efficient
- No external dependencies
Installation
npm install @mattythedev01/justcolors
Example Usage
// Example usage of justcolors
const justColors = require("@mattythedev01/justcolors");
// Example usage
console.log(justColors.red("This text is red!"));
console.log(justColors.bgGreen("This text has a green background!"));
console.log(justColors.success("Operation was successful!"));