sindresorhus / condense-whitespaceLinks
Remove leading, trailing and repeated whitespace from a string
☆39Updated 3 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+)☆87Updated 4 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Get user info of an npm user☆31Updated last year
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Find the root directory of a Node.js project or npm package☆25Updated 3 weeks ago
- Modify the values of an object☆27Updated 3 years ago
- Display an error in a GUI dialog☆22Updated 4 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- ☆17Updated 5 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get an array of parent directories including itself☆27Updated last year
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Get a Gravatar image from an identifier, such as an email☆41Updated 3 years ago
- Kap plugin - Share GIFs on Imgur☆21Updated 7 years ago
- Get user info from a GitHub username☆22Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Pick random items from a list☆15Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago