lliw
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

lliw

Build Status NPM version

This is a node module for creating strings that use ANSI color codes. It was created specifically to have no dependencies.

lliw is Welsh for color. Or so I was led to believe. I'm not Welsh and all the good names were taken.

Installation

npm install lliw

Requires node v8.0.0 or higher.

Usage

const lliw = require('lliw');
// typescript: import lliw = require('lliw');

console.log(lliw.red('foo'));
console.log(lliw.red.blackBg('foo'));
console.log(lliw.red.blackBg.underline('foo'));
console.log(lliw.red.blackBg.underline.strikeThrough('foo'));

Take a look at the type declaration for the full API.

/lliw/

    Package Sidebar

    Install

    npm i lliw

    Weekly Downloads

    1

    Version

    1.1.0

    License

    WTFPL

    Unpacked Size

    4.2 kB

    Total Files

    4

    Last publish

    Collaborators

    • tmont