@leglaine/colorizer
v1.0.0
Published
A simple, zero-dependency colorizer for terminal output.
Readme
colorizer
A simple, zero-dependency colorizer for terminal output.
usage
- Install colorizer
npm install colorizer- Require color function
const { color } = require("colorizer");- Use color function
console.log(color("red", "error: something went wrong"))colors
The currently supported colors are:
- black
- white
- red
- orange
- yellow
- green
- blue
- purple
- pink
