Normalize the newline characters in a string to `\n`
☆30Sep 18, 2026Updated last month
Alternatives and similar repositories for normalize-newline
Users that are interested in normalize-newline are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Modify the values of an object☆28Sep 18, 2026Updated last month
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 9 months ago
- Strip a path from a path☆18Aug 18, 2021Updated 5 years ago
- Escape a string for use in AppleScript☆14Sep 18, 2026Updated last month
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated last month
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last month
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated last month
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated last month
- Simple wildcard matching☆33Sep 15, 2025Updated last year
- Gracefully restore the CLI cursor on exit☆42Sep 18, 2026Updated last month
- Left pad each line in a string☆20Sep 18, 2026Updated last month
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 5 years ago
- Modify the filename in a path☆17Sep 18, 2026Updated last month
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 5 years ago
- Find the root directory of a Node.js project or npm package☆29Jun 5, 2025Updated last year
- Get the macOS version of the current system☆23Sep 9, 2025Updated last year
- Check if a path exists☆26Sep 18, 2026Updated last month
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Check if a path is the current working directory☆22Sep 18, 2026Updated last month
- 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.
- Normalize the newline characters in a string to `\n`☆18Sep 16, 2025Updated last year
- Check if a value is a regular expression☆26Sep 18, 2026Updated last month
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 5 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 5 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated last month
- Split lines into an array of lines☆48Sep 18, 2026Updated last month
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated 2 years ago
- Compare URLs by first normalizing them☆73Sep 18, 2026Updated last month
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Remove leading, trailing and repeated whitespace from a string☆42Aug 10, 2021Updated 5 years ago
- Get your PATH prepended with locally installed binaries☆20Oct 5, 2021Updated 5 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 11 months ago
- Get all email addresses in a string☆61Feb 2, 2026Updated 9 months ago
- Extract the article title of a HTML document or website☆32Sep 9, 2025Updated last year
- 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