UI Terminal
Basic helper for node js terminal. No dependencies.
Installation
npm i ui-terminal
Methods
Simple console log
let ut = ; // Include ui-terminal module let data = "Hello world!"; // Variables ut; // Simple output (like console.log)
Simple console log with text in color
Available colors:
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
let ut = ; // Include ui-terminal module // Test variableslet data = "Hello world!";let color = "red"; ut; // Simple output with text in color
Simple console log with background color
Available colors:
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
let ut = ; // Include ui-terminal module // Test variableslet data = "Hello world!";let bgcolor = "green"; ut; // Simple output with background color
Make only part of console.log in color
Available colors:
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
let ut = ; // Include module // Test variableslet cyan = "In cyan";let green = "in green"; console; // Simple console.log with coloring part of text
ToDo
- Custom styles
- Banners creator
- Matrix generator
- Easter egg creator
- Loader
- Wiki pages