3.6.7 • Published 1 year ago

@alterior/terminal v3.6.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@alterior/terminal

Provides utilities useful for terminal applications, including reading input and styling output.

Reading input

import { read } from '@alterior/terminal';

let name = await read({ prompt: `What's your name? ` });

console.log(`Hello ${name}!`);

Styling output

import { styled, style } from '@alterior/terminal';

console.log(
    styled(`Hello `, style.$blue(`world`), `, how are `, style.$green(`you`), `?`)
);
3.6.7

1 year ago

3.1.12

2 years ago

3.1.11

2 years ago

3.1.10

2 years ago

3.1.9

2 years ago

3.1.8

2 years ago

3.1.7

2 years ago