Ansi Console
A super lightweight library to color your console.
Super easy to setup and use in your application. Modifying the Ansi code is also possible.
Initialization:
- Javascript
// Common Js imports
const { ColorInit } = require('ansi-console')
// Initialization of the colors
const { colour, state, template } = ColorInit()
// Converting the input to Ansi Color pattern
console.log(colour.blue("This is a blue text"))
- Typescript (Types included)
// Use ES6 Style imports for typescript
import { ColorInit } from 'ansi-console'