chalk / has-ansiLinks
Check if a string has ANSI escape codes
☆50Updated 3 weeks ago
Alternatives and similar repositories for has-ansi
Users that are interested in has-ansi are comparing it to the libraries listed below
Sorting:
- Regular expression for matching a shebang line☆47Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 weeks ago
- Slice a string with ANSI escape codes☆50Updated 3 weeks ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Strip ANSI escape codes☆39Updated 4 years ago
- List of binary file extensions☆85Updated 5 months ago
- Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.☆24Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- POSIX character classes for creating regular expressions.☆30Updated 4 years ago
- Returns an array filled with the specified input☆42Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Emulate console for all the browsers☆33Updated 9 months ago
- Check if a value is a function☆27Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Get user info of an npm user☆31Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 3 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 4 years ago
- Check if a file is executable☆29Updated 7 years ago
- Check if something is a generator function☆22Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆34Updated 4 years ago
- Create clickable links in the terminal☆91Updated 3 weeks ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 3 years ago
- Minimal module to check if a file is executable.☆49Updated last year
- Like `chown -R`☆30Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Detect whether a terminal supports color☆18Updated 4 years ago