Tynt
A tactile color library for Node.js' console.
Tynt is very easy to use, here is a quick example:
var tynt = ; console
Installation
Using NPM:
npm i tynt
List of Colors
Here is a reference of pre-defined colors that you don't need to add yourself.
tyntResettyntBrighttyntDimtyntUnderscoretyntBlinktyntReversetyntHidden tyntBlacktyntRedtyntGreentyntYellowtyntBluetyntMagentatyntCyantyntWhite tyntBgBlacktyntBgRedtyntBgGreentyntBgYellowtyntBgBluetyntBgMagentatyntBgCyantyntBgWhite
Adding Presets/Prefixes
tynt console // Hello, John.
tynt console // Error: Well this sucks.
Variables
Tynt has built in variables to help when making Presets/Prefixes.
// {text}tynt console // Hello, John!
// Before, without variables (NOT SUPPORTED BY 1.0)
tynt.add("Hello","Hello, ")
console.log(tynt.Hello("James") + "!") // Hello, James!