Skip to content

Archivist-Nerd/node-dye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-dye

npm version build status Total alerts Language grade: JavaScript Known Vulnerabilities

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

About

Terminal string styling done SIMPLY

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published