chalk / has-ansiLinks
Check if a string has ANSI escape codes
☆50Updated 2 months ago
Alternatives and similar repositories for has-ansi
Users that are interested in has-ansi are comparing it to the libraries listed below
Sorting:
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆61Updated last month
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Regular expression for matching a shebang line☆47Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- List of binary file extensions☆88Updated 6 months ago
- Strip ANSI escape codes☆39Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆23Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆62Updated last year
- Create clickable links in the terminal☆91Updated 2 months ago
- Emulate console for all the browsers☆33Updated 10 months ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Check if something is a generator function☆23Updated 3 years ago
- Get the user's default shell☆40Updated 2 months ago
- Get all emails in a text file or stdin☆24Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Get user info of an npm user☆31Updated last year
- Minimal module to check if a file is executable.☆49Updated 3 weeks ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 4 years ago
- Reliably get the terminal window size - cross-platform☆26Updated 2 years ago
- Like `chown -R`☆30Updated last year
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 8 years 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
- Check if a file is executable☆29Updated 7 years ago
- Check if a value is a function☆28Updated 4 years ago