Skip to content

ghaiklor/polycolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Yet another command-line coloring library with RGB support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published