1.1.4 • Published 1 year ago

@je-es/ansi v1.1.4

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

@je-es/ansi

This repository provides a robust and standardized solution for handling ANSI escape sequences in your applications.

ANSI escape sequences are used to control text formatting, color, and other output options on text terminals.

This library simplifies the process of incorporating these sequences, ensuring consistent behavior across different environments.

  • 📥 Usage

    npm i @je-es/ansi
  • 🌟 Syntax

    import { style } from '@je-es/ansi';
    
    style('Hello World',
    {
        fg      ?: string('name' | '#hex') | array[r,g,b],
        bg      ?: string('name' | '#hex') | array[r,g,b],
        attr    ?: string | string []
    })

Documentation


Made with ❤ by Maysara Elshewehy

1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.6

1 year ago

1.1.4

1 year ago

1.0.5

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.3

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago