sindresorhus / normalize-newlineLinks
Normalize the newline characters in a string to `\n`
☆30Updated 2 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:
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Modify the values of an object☆29Updated 4 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Updated 4 years ago
- Check if a file path is a text file☆21Updated last year
- Check if a value is an error constructor☆14Updated 4 years ago
- Convert an Observable to a Promise☆52Updated 2 years ago
- Check if a file path is a binary file☆49Updated last year
- Create a revved file path☆21Updated 3 years ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- List of prototype properties for JavaScript types☆27Updated last year
- Check if a value is a Blob☆24Updated 2 years ago
- Check if something is a generator function☆24Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Updated 3 years ago
- Get the passwd user entry from a username or uid☆30Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Modify the filename in a path☆17Updated 3 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Get free disk space info from `df -kP`☆64Updated 2 months ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Pick random items from a list☆57Updated 4 years ago
- Check if a value is a function☆29Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the PATH environment variable key cross-platform☆45Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆62Updated 2 months ago
- Check if a number is in a given range☆22Updated 4 years ago