coloring-text
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

coloring-text

Make your text colored!

Install

npm i coloring-text

Examples

Change the color of text

const { color } = require("coloring-text")

console.log(color("red text", "red"))
console.log(`This is ${color("black text with yellow background", "black", "yellow")}`)

Change the style of text

const { style } = require("coloring-text")

console.log(style("blinking text", "blink"))
console.log(style("bright and underscored text", "bright", "underscore"))

Readme

Keywords

Package Sidebar

Install

npm i coloring-text

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

3.17 kB

Total Files

4

Last publish

Collaborators

  • ohbeomho