sindresorhus / split-linesLinks
Split lines into an array of lines
☆46Updated 2 years ago
Alternatives and similar repositories for split-lines
Users that are interested in split-lines are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Modify the values of an object☆29Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Truncate a URL to a specific length☆62Updated 2 months ago
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if a path exists☆26Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Extract the article title of a HTML document☆56Updated 3 months ago
- Display a notification (macOS 10.9+)☆90Updated last month
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Check if a value is an object☆42Updated 4 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Strip UTF-8 byte order mark (BOM)☆22Updated 3 months ago
- Check if a value is a function☆29Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Alphabetically sort an array of strings☆40Updated 4 years ago
- Stylelint shareable config for XO☆41Updated 7 months ago
- Get the revved file path of a file☆35Updated 3 years ago