sindresorhus / split-linesLinks
Split lines into an array of lines
☆45Updated 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☆54Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Truncate a URL to a specific length☆61Updated last month
- Get metadata on the default editor or a specific editor☆53Updated last month
- A list of directories you should ignore by default☆23Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Modify the values of an object☆28Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Split a string at one or more indices☆24Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated 2 years ago
- Get namespaced config from the closest package.json☆120Updated 2 years ago
- Mimic a Node.js HTTP response stream☆60Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- A stylelint processor for linting CSS in markdown☆26Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated 2 years ago
- Regular expression for matching reserved filename characters☆51Updated last month
- Returns an array filled with the specified input☆43Updated 3 years ago
- Stylelint shareable config for XO☆40Updated 5 months ago
- Check when the DOM has loaded like `DOMContentLoaded`☆111Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆56Updated 3 years ago
- Tests whether one path is inside another path☆42Updated 5 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Strip UTF-8 byte order mark (BOM)☆21Updated last month