fancy-terminal

1.0.1 • Public • Published

🌈 fancy-terminal Build Status Coverage Status

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

MIT

Erdem Bircan (c) 2019-present

Readme

Keywords

Package Sidebar

Install

npm i fancy-terminal

Weekly Downloads

1,171

Version

1.0.1

License

MIT

Unpacked Size

4.95 kB

Total Files

6

Last publish

Collaborators

  • erdembircan