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:
- Check if a file path is a text file☆21Updated last year
- 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
- Check if something is a generator function☆24Updated 3 years ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Create a revved file path☆21Updated 3 years ago
- Modify the values of an object☆29Updated 4 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Get the number of days in a month☆27Updated 4 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Get the path to this package - Useful for testing☆22Updated 4 years ago
- Check if a value is an error constructor☆14Updated 4 years ago
- Extract the article title of a HTML document☆56Updated 4 months ago
- Get all emails in a text file or stdin☆25Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if a file path is a binary file☆49Updated last year
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Updated 3 years ago
- Left pad each line in a string☆20Updated 2 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Get user info from a GitHub username☆24Updated 4 years ago
- Check if a path is inside another path☆40Updated 4 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Updated last week
- Check if a path exists☆26Updated 2 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago