0.0.2 • Published 5 years ago

mkdcolor v0.0.2

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

mkdcolor

What it does

Like the normal colors module but just one string.

Anything after a block will be that blocks color, try the example so see what i mean.

Simple example of how the blocks work

[#-g]This text will be green but [#-r]this will be red and [#r]now its reset to the default.

Basic Usage

var mkdc = require("mkdcolor");

console.log( mkdc.read("[#-w]Something [#-r]red with a bit of [#-g]green and a little tiny bit of [#-m]magenta and [#-c]cyan.") );

the above will produce image

Sequence Blocks

#r -- Resets #h -- Hides #-bl -- Black #-r -- Red #-g -- Green #-y -- Yellow #-b -- Blue #-m -- Magenta #-c -- Cyan #-w -- White #-gr -- Grey