chalk / slice-ansiLinks
Slice a string with ANSI escape codes
☆49Updated last year
Alternatives and similar repositories for slice-ansi
Users that are interested in slice-ansi are comparing it to the libraries listed below
Sorting:
- Check if a file path is a binary file☆46Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 6 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated 4 years ago
- Decompress a HTTP response if needed☆72Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 4 months ago
- Is this an arguments object? It's a harder question than you think.☆17Updated 6 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Check if a string has ANSI escape codes☆49Updated last year
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 11 months ago
- Callback wrapping utility☆56Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Get the PATH environment variable key cross-platform☆44Updated last year
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Rename a function☆46Updated last year
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago