Normalize the newline characters in a string to `\n`
☆30Sep 16, 2025Updated 6 months ago
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:
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 4 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 4 months ago
- Get all email addresses in a string☆60Feb 2, 2026Updated last month
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Get the default browser☆61Feb 2, 2026Updated last month
- Prefix CSS using Autoprefixer☆34May 1, 2024Updated last year
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Simple wildcard matching☆34Sep 15, 2025Updated 6 months ago
- Display a notification (macOS 10.9+)☆90Nov 13, 2025Updated 4 months ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 5 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated 6 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Remove leading, trailing and repeated whitespace from a string☆41Aug 10, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Check if a year is a leap year☆21Apr 7, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Extract the article title of a HTML document or website☆31Sep 9, 2025Updated 6 months ago
- Check if a Buffer/Uint8Array is a GIF image☆30Jul 8, 2022Updated 3 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 6 months ago
- Get a Gravatar image from an identifier, such as an email☆41Sep 10, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated 2 months ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆25Oct 7, 2021Updated 4 years ago
- Clone and modify a RegExp instance☆24Jul 8, 2022Updated 3 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago