1.0.2 • Published 1 year ago

@aviene/ansi-escape v1.0.2

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

ANSI Escape Sequences

A small utility library that utilizes ANSI escape codes to achieve text styling effects.

Note

Ensure that the terminal supports ANSI escape codes for the styling effects to be displayed correctly.

Example

import { colorizeText, styleText } from "@aviene/ansi-escape";

// Apply red color to text
const redText = colorizeText.red("Hello, World!");

// Apply bold mode to text
const boldText = styleText.bold("Bold Text");
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago