1.0.0 • Published 3 years ago
@leglaine/colorizer v1.0.0
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
1.0.0
3 years ago