slice-ansi

String slicer

Slices a string with ANSI escape codes to extract specific parts

Slice a string with ANSI escape codes

GitHub

47 stars
7 watching
21 forks
Language: JavaScript
last commit: 6 months ago

Related projects:

Repository Description Stars
chalk/wrap-ansi Wraps a string with ANSI escape codes to a specified column width. 120
chalk/strip-ansi-cli Tools for removing ANSI escape codes from text input. 56
chalk/strip-ansi Removes unwanted formatting codes from text 398
chalk/strip-ansi-stream A utility for removing special formatting codes from text streams 34
chalk/has-ansi A tool to detect and verify the presence of ANSI escape codes in strings 45
chalk/ansi-regex A regular expression library for matching ANSI escape codes 185
chalk/ansi-styles Provides ANSI escape codes for styling strings in the terminal 422
hustcc/slice.js Provides a Python-style slice functionality for strings and arrays as proxies. 34
sindresorhus/splice-string A utility function to remove or replace parts of a string 23
chalk/chalk-template A library for styling terminal output with customizable text colors and styles using tagged template literals 93
zhiyelee/array.chunk A utility function to split an array into smaller parts of a specified size. 11
jstrace/chart Generates an ascii bar chart to display data 233
orling/grapheme-splitter A library that breaks strings into their individual user-perceived characters 928
adametry/gulp-eslint Identifies and reports on patterns in ECMAScript/JavaScript code 562
psampaz/slice A package providing type-safe functions for common slice operations in Go. 51