1.0.0 • Published 6 years ago

luxt v1.0.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
6 years ago

luxt

The awesome Node console output styling library

GitHub | NPM

Install

npm i luxt

Use

luxt supports all of the different styling features documented in ansidex. See: ansidex README

Text color:

const luxt = require('luxt')

console.log(luxt('Hey').green)

Background color:

console.log(luxt('Hey').bgWhite)

Styles:

const luxt = require('luxt')

console.log(luxt('Hey').blink)

Stacking modifiers:

const luxt = require('luxt')

console.log(luxt('Hey').white.bgBlack.underscore)