Remove leading, trailing and repeated whitespace from a string
☆42Aug 10, 2021Updated 5 years ago
Alternatives and similar repositories for condense-whitespace
Users that are interested in condense-whitespace are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆21Sep 18, 2026Updated last month
- Modify the values of an object☆28Sep 18, 2026Updated last month
- Regular expression for matching Bitcoin addresses☆21Sep 7, 2016Updated 10 years ago
- Search GitHub repositories☆19May 23, 2017Updated 9 years ago
- Extract the article title of a HTML document or website☆32Sep 9, 2025Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated last month
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 9 months ago
- Check if a Buffer/Uint8Array is a WebP image☆22Sep 18, 2021Updated 5 years ago
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last month
- Normalize the newline characters in a string to `\n`☆30Sep 18, 2026Updated last month
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 5 years ago
- Check if a Buffer/Uint8Array is a JPEG image☆27Sep 18, 2026Updated last month
- Strip a path from a path☆18Aug 18, 2021Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Get your PATH prepended with locally installed binaries☆20Oct 5, 2021Updated 5 years ago
- Filter object keys and values into a new object☆105Sep 18, 2026Updated last month
- Check if a value matches a condition☆13Feb 19, 2018Updated 8 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Escape a string for use in AppleScript☆14Sep 18, 2026Updated last month
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated 2 years ago
- Get the values of an object☆27Jun 21, 2023Updated 3 years ago
- Get ten most popular screen resolutions☆16Aug 24, 2016Updated 10 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Get a Gravatar image from an identifier, such as an email☆41Sep 10, 2021Updated 5 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated last month
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Parse text columns, like the output of unix commands☆84Sep 20, 2026Updated last month
- Check if a Buffer/Uint8Array is a ZIP file☆17Oct 17, 2017Updated 9 years ago
- Simple wildcard matching☆33Sep 15, 2025Updated last year
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 5 years ago
- Convert URLs to Markdown links: Extracts URLs from text → Gets their article title → Creates Markdown links☆91Sep 11, 2025Updated last year
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Check if a string is HTML☆95Sep 18, 2026Updated last month
- Microservice to get the latest public GitHub repos from a user☆151Apr 30, 2024Updated 2 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 5 years ago
- Linkify URLs in a string☆175Oct 26, 2025Updated last year
- Convert a string to a valid safe filename on the command-line☆65Sep 15, 2025Updated last year
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 3 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆123May 2, 2024Updated 2 years ago
Are these results useful?