@archivistnerd/dye

Archivist Nerd's dye Package

Usage no npm install needed!

<script type="module">
  import archivistnerdDye from 'https://cdn.skypack.dev/@archivistnerd/dye';
</script>

README

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