sindresorhus / normalize-newlineLinks
Normalize the newline characters in a string to `\n`
☆30Updated 2 years 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☆19Updated last year
- Check if a value is an error constructor☆13Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Check if a file path is a text file☆18Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 3 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 3 years ago
- Get an array of parent directories including itself☆27Updated last year
- Create a revved file path☆21Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Regular expression for matching issue references☆49Updated 8 months ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Convert an Observable to a Promise☆48Updated last year
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- utility to create a pretty report for a vfile☆20Updated last year
- Lowercase the keys of an object☆40Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Check if a value is a Blob☆22Updated last year
- Stylelint shareable config for XO with 2-space indent☆13Updated 2 weeks ago
- Get the number of days in a month☆27Updated 3 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Find the root directory of a Node.js project or npm package☆25Updated last year
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆18Updated 3 years ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago