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
- Check if a value is an error constructor☆13Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- List of prototype properties for JavaScript types☆25Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Create a revved file path☆20Updated 2 years ago
- Get an array of parent directories including itself☆27Updated last year
- 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 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Check if a value is a Blob☆22Updated last year
- Check if something is a generator function☆22Updated 2 years ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Get the number of days in a month☆27Updated 3 years ago
- Clone and modify a RegExp instance☆22Updated 2 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Stylelint shareable config for XO with 2-space indent☆13Updated 8 months ago
- Check if a path is inside another path☆37Updated 2 years ago
- Lowercase the keys of an object☆40Updated last year
- Convert an Observable to a Promise☆47Updated last year
- Split a string at one or more indices☆23Updated 3 years ago
- Regular expression for matching scoped npm package names☆26Updated 2 years ago
- Modify the values of an object☆28Updated 3 years ago
- Regular expression for matching issue references☆49Updated 4 months ago
- Check if a value is a function☆27Updated 3 years ago
- Repeat a string - fast☆34Updated 3 years ago