chalk / slice-ansi
Slice a string with ANSI escape codes
☆47Updated 5 months ago
Related projects ⓘ
Alternatives and complementary repositories for slice-ansi
- Check if a string has ANSI escape codes☆45Updated 3 months ago
- Check if a file path is a binary file☆42Updated 6 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- Strip the final newline character from a string/buffer☆33Updated last week
- Lowercase the keys of an object☆40Updated last year
- Repeat a string - fast☆34Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- ES2015 Number.isNaN() ponyfill☆28Updated 6 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated 7 months 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
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆34Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 3 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆36Updated last year
- Check if an Array is sorted☆34Updated 3 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆35Updated 3 months ago