Search results

1000+ packages found

ANSI escape sequence processing

published version 0.0.9, a year ago0 dependents licensed under $MIT
11,649

Convert unicode escape sequence to a character!

published version 1.0.0, 7 years ago5 dependents licensed under $MIT
408

Add or remove backslashes (escape or unescape).

published version 3.0.12, 2 years ago70 dependents licensed under $ISC
3,163,139

Parse escape sequence for console. (Especially for SGR)

published version 0.0.6, 7 years ago0 dependents licensed under $ISC
80

ANSI escape codes for manipulating the terminal

published version 7.0.0, 8 months ago2632 dependents licensed under $MIT
172,660,362

Get Control Sequence Introducer for [ANSI Escape Codes](https://en.wikipedia.org/wiki/ANSI_escape_code)

published version 0.0.2, 9 years ago8 dependents licensed under $MIT
38

This module replaces all escape sequence by spaces and line breaks: sr('some\be\rsom\vstrange\r\vline') -> 'some\n strange\nline'

published version 1.0.5, 9 years ago3 dependents licensed under $MIT
158

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 2 years ago3759 dependents licensed under $MIT
1,071,455,219

Yet another ansi escape code sequence styler. Supports stacking, nested and global styles; rgb, hex and hsl color spaces out of the box, no dependencies.

published version 1.1.0, 15 days ago0 dependents licensed under $MIT
220

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9418 dependents licensed under $MIT
631,923,181

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6183 dependents licensed under $MIT
473,129,180

Regular expression for matching ANSI escape codes

published version 6.1.0, 4 months ago3273 dependents licensed under $MIT
581,609,537

Get the visual width of a string - the number of columns required to display it

published version 7.2.0, 7 months ago6556 dependents licensed under $MIT
522,334,974

Escape RegExp special characters

published version 5.0.0, 4 years ago5346 dependents licensed under $MIT
440,317,258

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

published version 3.1.0, a month ago2021 dependents licensed under $MIT
215,938,547

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1009 dependents licensed under $MIT
156,483,658

Convert ANSI escape sequences to human readable text

published version 3.0.0, 2 months ago1 dependents licensed under $MIT
55,707

Escape string for use in HTML

published version 1.0.3, 9 years ago3051 dependents licensed under $MIT
106,370,049

ansi control sequences for terminal cursor hopping and colors

published version 1.0.2, 8 years ago177 dependents licensed under $MIT
5,640,290

A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.

published version 3.0.0, 6 years ago919 dependents licensed under $MIT
86,633,882