sindresorhus / normalize-newlineLinks
Normalize the newline characters in a string to `\n`
☆30Updated last month
Alternatives and similar repositories for normalize-newline
Users that are interested in normalize-newline are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Create a revved file path☆21Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆20Updated 2 years ago
- Modify the values of an object☆28Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆56Updated 3 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Check if a file path is a binary file☆48Updated last year
- Get user info from a GitHub username☆22Updated 4 years ago
- Check if something is a generator function☆23Updated 3 years ago
- Get the path to this package - Useful for testing☆22Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆23Updated 3 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Exclude certain items from an array☆22Updated 4 months ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Check if a file path is a text file☆20Updated last year
- Clone and modify a RegExp instance☆23Updated 3 years ago
- Left pad each line in a string☆19Updated 2 years ago
- Strip UTF-8 byte order mark (BOM)☆21Updated last month
- Check if a number is a redirect HTTP status code☆24Updated 4 years ago
- Check if a path is inside another path☆39Updated last month
- Check if a path exists☆24Updated 2 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Node's default require extensions as a separate module☆10Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago