1.0.0 • Published 3 years ago

@leglaine/colorizer v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

colorizer

A simple, zero-dependency colorizer for terminal output.

usage

  1. Install colorizer
npm install colorizer
  1. Require color function
const { color } = require("colorizer");
  1. 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