0.1.4 • Published 6 years ago

inky.js v0.1.4

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Inky.js

alt text

About:

Inky.js is a small terminal styling library with big dreams.

it is still in early development and may be unstable on some devices

feature set:

NameImplementedrelease version
inky.<color>(<text>)true0.0.1 +
inky.terminaltrue0.0.2 +
String.<color>()falseCancelled
inky.hexpartial (inky.terminal only)0.1.0 +
inky.rgbpartial (inky.terminal only)0.1.0 +
TrueColorpartial (inky.terminal only)0.1.0 +
gradientpartial (inky.terminal only)0.1.1 +

Docs:

index:

intro installation usage       console.log       inky.terminal Support List

intro:

Inky.js is an early stage competitor to the likes of chalk and colors

installation:

npm:

npm install inky.js

yarn:

yarn add inky.js

usage:

console.log:

console.log(inky.red.bold('Hello World'))

inky.terminal:

Inky.terminal is an extemded featureset of the default gloal conole, supporting all of the documented features of the console and extending them to include color features:

const terminal = new inky.terminal()
terminal.<color>.<style>()
//or you can use the console-log method
terminal.log(inky.<color>('Hello World'))

Support List

default colors (no styles)

Nameterminalforegroundbackground
Blackyesyesyes
Blueyesyesyes
Cyanyesyesyes
Greenyesyesyes
Magentayesyesyes
Redyesyesyes
Whiteyesyesyes
Yellowyesyesyes

default colors (styled)

Namestyleterminalforegroundbackground
Black
boldyesyesyes
underscoreyesyesyes
Blue
boldyesyesyes
underscoreyesyesyes
Cyan
boldyesyesyes
underscoreyesyesyes
Green
boldyesyesyes
underscoreyesyesyes
Magenta
boldyesyesyes
underscoreyesyesyes
Red
boldyesyesyes
underscoreyesyesyes
White
boldyesyesyes
underscoreyesyesyes
Yellow
boldyesyesyes
underscoreyesyesyes
BONUS FEATURESNote
muricaalternate colors of text to make an american themed output

all bonus features have full support in all output modes

found a problem? open an issue on our GitHub page

0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago