sindresorhus / normalize-newline
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
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the number of days in a month☆27Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Create a revved file path☆21Updated 2 years ago
- Convert an Observable to a Promise☆47Updated last year
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 3 years ago
- List of prototype properties for JavaScript types☆25Updated 11 months ago
- Check if a value is a Blob☆22Updated last year
- Parse a person, author, contributor or maintainer string into an object with name, email and url properties following NPM conventions. Us…☆23Updated 8 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Get an array of parent directories including itself☆27Updated last year
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Regular expression for matching issue references☆49Updated 7 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated 11 months ago
- Clone and modify a RegExp instance☆22Updated 2 years ago
- Simple `setImmediate` shim☆28Updated last year