0.0.2 • Published 3 years ago

@archivistnerd/dye v0.0.2

Weekly downloads
-
License
(MIT or SEE LICEN...
Repository
github
Last release
3 years ago

node-dye

npm version build status

Archivist Nerd's dye Package

Terminal string styling done SIMPLY

This Package is in VERY EARLY ALPHA

This package subject to change QUICKLY, and possibly Often

Installation

npm install @archivistnerd/dye

Colors

text colors

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

background colors

  • bgblack
  • bgred
  • bggreen
  • bgyellow
  • bgblue
  • bgmagenta
  • bgcyan
  • bgwhite

Usage (Simple)

'use strict';

const dye = require('@archivistnerd/dye');

console.log([
    dye('red','this text is red'),
    dye('bgwhite,blue','blue text, white background')
  ].join('\n')
)

License

MIT