Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

luxt

1.0.0 • Public • Published

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)

install

npm i luxt

Downloadsweekly downloads

7

version

1.0.0

license

SEE LICENSE IN LICENSE.md

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability