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
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Convert an Observable to a Promise☆48Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Create a revved file path☆21Updated 2 years ago
- Get an array of parent directories including itself☆27Updated last year
- Truncate a URL to a specific length☆61Updated 4 years ago
- List of prototype properties for JavaScript types☆25Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Modify the values of an object☆27Updated 3 years ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Check if something is a generator function☆22Updated 2 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Regular expression for matching issue references☆49Updated 8 months ago
- Repeat a string - fast☆34Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 3 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Extract the article title of a HTML document☆54Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Get the number of days in a month☆27Updated 3 years ago
- Check if a value is a function☆27Updated 4 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆16Updated 3 years ago
- Get user info from a GitHub username☆22Updated 3 years ago