1.0.4 • Published 5 years ago

colorifylog v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Colorifylog

Colorifylog is a tool to color your console logs.

Usage

Install

const colorifylog = require('colorifylog')

Call colorifylog and add a the Hex code.

colorifylog("Hello World","#ff00ff")

Returns

color output

Name

It was originally called colorify, but since it was a pretty shitty version of its aspiration and the countless other console coloring libraries out there. It has therefore been named colorifylog, as a temporary name.

Colors

Green, Hex: '#008000' Green, Hex: #008000
Red, Hex: '#ff0000' Red, Hex: #ff0000
Yellow, Hex: '#ffff00' Yellow, Hex: #ffff00
Blue, Hex: '#0000ff' Blue, Hex: #0000ff
Magenta, Hex: '#ff00ff' Magenta, Hex: #ff00ff
Cyan, Hex: '#00ffff' Cyan, Hex: #00ffff

Contributions welcome

Please add colors, improve functionality.

Here is some things you can do:

  • Add background color support
  • Add text formatting support
  • Support color names instead of hex codes
  • Improve main functionality to return instead of directly logging