1.0.0 • Published 3 years ago

polycolors v1.0.0

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

polycolors

Yet another command-line coloring library with RGB support. You heard it right, you can specify RGB values as an input to colorizer.

Features

  • RGB support
  • Aliases for common known RGB values
  • No dependencies

Getting Started

npm install polycolors

Use an API for common colors

import { fgRed } from "polycolors";

console.log(fgRed("What's up?"));

Use an API for RGB values

import { fgColor } from "polycolors";

console.log(fgColor(255, 0, 0)("What's up?"));

Credits

License

MIT License