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