1.2.0 • Published 2 years ago

btss v1.2.0

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

BTSS

Basic Terminal String Styling in <5kb

install - npm i btss

Text decorations

example -

import { grey } from "btss";
grey("this text will be grey");
  1. reset
  2. bold
  3. grey
  4. underline
  5. blink
  6. reverse
  7. hidden

Colors

these colors can be used as font color or background color example -

import { red, bgred } from "btss";

// red font color
red("text");

// red background color
bgred("text");
  1. black
  2. red
  3. green
  4. yellow
  5. blue
  6. magenta
  7. cyan
  8. white
  9. crimson