1.0.2 • Published 3 years ago

ansi-console v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Ansi Console

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'