chalk / slice-ansi
Slice a string with ANSI escape codes
☆47Updated 10 months ago
Alternatives and similar repositories for slice-ansi:
Users that are interested in slice-ansi are comparing it to the libraries listed below
- Check if a file path is a binary file☆44Updated 11 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a string has ANSI escape codes☆46Updated 9 months ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated 11 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 8 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Lowercase the keys of an object☆40Updated last year
- utility to create a pretty report for a vfile☆20Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Modify the values of an object☆27Updated 3 years ago
- Get an array of parent directories including itself☆27Updated last year
- Check if a number is in a given range☆21Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Is this an arguments object? It's a harder question than you think.☆16Updated 4 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Detect the dominant newline character of a string☆55Updated last year