Skip to content

gsmaverick/wren-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

wren-colors

Print fancy messages to the terminal.

Usage

This assumes you've included this repository under /wren-colors in your project root.

import 'wren-colors/index' for AnsiColors, AnsiPrinter

var a = new AnsiPrinter(AnsiColors.BLUE, AnsiColors.WHITE_B, AnsiColors.BLINK)
a.print("This text should be blue on a white background and blink.")

var b = new AnsiPrinter(AnsiColors.BLUE, AnsiColors.WHITE_B)
b.print("This text should be blue on a white background.")

var c = new AnsiPrinter(AnsiColors.BLUE)
c.print("This text should be blue.")

About

Print fancy messages to the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published