sindresorhus / condense-whitespaceLinks
Remove leading, trailing and repeated whitespace from a string
☆41Updated 4 years ago
Alternatives and similar repositories for condense-whitespace
Users that are interested in condense-whitespace are comparing it to the libraries listed below
Sorting:
- Check if your code is running in a JXA environment☆32Updated 4 years ago
- Extract the article title of a HTML document☆56Updated 3 months ago
- Display a notification (macOS 10.9+)☆90Updated last month
- Get a Gravatar image from an identifier, such as an email☆42Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Open files in your editor at a specific line and column☆55Updated 4 years ago
- Get user info of an npm user☆32Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Updated 4 years ago
- Get the path to an app (macOS)☆64Updated 3 years ago
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Get free disk space info from `df -kP`☆64Updated 3 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Get user info from a GitHub username☆24Updated 4 years ago
- Reliably get the terminal window size - cross-platform☆26Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Updated last year
- Check if a value is a function☆29Updated 4 years ago
- Alphabetically sort an array of strings☆40Updated 4 years ago
- Get the command history of the user's shell☆86Updated last month
- Display an error in a GUI dialog☆22Updated 4 years ago
- Get a GitHub username from an email address☆51Updated 2 years ago
- Convert a time string to seconds: '0017' → 1337☆37Updated 4 years ago
- Get the user's default shell☆41Updated 3 months ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Updated 4 years ago