@archivistnerd/dye
v0.0.2
Published
Archivist Nerd's dye Package
Downloads
6
Maintainers
Readme
node-dye
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