sindresorhus / split-linesLinks
Split lines into an array of lines
☆44Updated last year
Alternatives and similar repositories for split-lines
Users that are interested in split-lines are comparing it to the libraries listed below
Sorting:
- Truncate a URL to a specific length☆61Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Conditional promise chains☆61Updated 4 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated 11 months ago
- Modify the values of an object☆27Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if a value is a function☆27Updated 4 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Create a revved file path☆21Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Filter object keys and values into a new object☆102Updated last year