You can print anything in these some colors using this class called App
let color = new App('yourtext', 'blue') // Blue color
App - text. Option
App(Text, Option)
Basically prints anything you want [With blue, red, green, magenta, yellow, blue] $${\color{blue}A\color{yellow}n\color{green}y\color{black}t\color{cyan}h\color{pink}i\color{purple}n\color{magenta}g}$$ $${\color{blue}Blue}$$ $${\color{red}red}$$ $${\color{magenta}Magenta}$$
//Common colors
let blue = new App('Blue Color', option='blue')
let magenta = new App('Magenta Color', 'magenta')
let red = new App('Red color', 'red')
let green = new App('Green Color', 'green')
Builtins
//Cyan builtin color
let cyan = new App('Hello world!', 'cyan')
//Gradient Builtin
let builtin = new App('Hey!', 'builtin')
//Output expected: Hey! (With blue,red,green)
THIS FUNCTION IS IN BETA SO MAY NOT GET COLOURED This function prints an file content in coloured text
// Usage
const { FileContent } = require('win-color')=
const fileapp = new FileContent(file_path_here, 'blue')
const { FileContent } = require('win-color')=
const fileapp = new FileContent('test.txt', 'blue')
// Output: test, yay