1.0.1 • Published 3 years ago

node-simple-colors v1.0.1

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

simple-colors

A simple node.js colors library.

Installation:

Install with npm:\ npm install node-simple-colors\ Or use colors.js from the repository

Example:

const colors = require("node-simple-colors")

colors.redLog("This text is in red!")
console.log(`You can even use it like ${colors.red}this!${colors.reset}`)

List of functions:

  • blackLog(string)
  • redLog(string)
  • yellowLog(string)
  • greenLog(string)
  • blueLog(string)
  • magentaLog(string)
  • cyanLog(string)
  • whiteLog(string)

Variables:

  • black
  • red
  • yellow
  • green
  • blue
  • magenta
  • cyan
  • white
  • reset