sindresorhus / normalize-newlineLinks
Normalize the newline characters in a string to `\n`
☆30Updated 4 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:
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Modify the values of an object☆29Updated 4 years ago
- Check if a file path is a binary file☆49Updated last year
- Lowercase the keys of an object☆41Updated last week
- Repeat a string - fast☆35Updated 4 years ago
- Check if a file path is a text file☆21Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated last week
- Create a revved file path☆21Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated 3 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago
- Check if a value is a function☆29Updated 4 years ago
- Convert an Observable to a Promise☆52Updated 2 years ago
- Get the passwd user entry from a username or uid☆30Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Updated 4 years ago
- Get the path to this package - Useful for testing☆22Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the PATH environment variable key cross-platform☆46Updated 5 months ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Updated 4 years ago
- Check if a value is a Blob☆24Updated 2 years ago
- Check if a value is an error constructor☆14Updated 4 years ago
- Get free disk space info from `df -kP`☆64Updated 4 months ago
- Get the number of days in a month☆27Updated 4 years ago
- Extract the article title of a HTML document☆56Updated 5 months ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Updated 4 years ago