sindresorhus / condense-whitespaceLinks
Remove leading, trailing and repeated whitespace from a string
☆39Updated 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:
- Display a notification (macOS 10.9+)☆88Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 4 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Get the path to an app (macOS)☆63Updated 3 years ago
- Alphabetically sort an array of strings☆39Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Open files in your editor at a specific line and column☆54Updated 3 years ago
- Get user info of an npm user☆31Updated last year
- Get the command history of the user's shell☆85Updated 2 years ago
- Check if a value is a function☆27Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 3 years ago
- Get the user's default shell☆40Updated this week
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 3 years ago
- Display an error in a GUI dialog☆22Updated 4 years ago
- Modify the values of an object☆27Updated 4 years ago
- Add AVA to your project☆15Updated 4 years ago
- ☆22Updated 6 years ago
- Convert a time string to seconds: '0017' → 1337☆34Updated 4 years ago
- Extract the article title of a HTML document☆55Updated last week
- Get all emails in a text file or stdin☆24Updated 4 years ago
- Get or check the current macOS version☆62Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Split a string at one or more indices☆23Updated 4 years ago
- Get free disk space info from `df -kP`☆63Updated this week
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Returns an array filled with the specified input☆42Updated 3 years ago
- Split lines into an array of lines☆44Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago