🌈 fancy-terminal

zero dependency Node.js terminal output colorizer.
installation
npm i fancy-terminal
or
yarn add fancy-terminal
usage
const ft = require('fancy-terminal');
// color name for font colors
console.log('An error occured: ' + ft.red('an unfortunate error'));
// color name with Bg suffix for background colors
console.log(ft.greenBg('operation successfull');
check
yarn example
for full color displays.api
- font color list: black, red, green, yellow, blue, magenta, cyan, white
- background color list: all of the font colors suffixed with
Bg
license
MITErdem Bircan (c) 2019-present