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:
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Truncate a URL to a specific length☆62Updated 2 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Modify the values of an object☆29Updated 4 years ago
- Check if a value is an object☆42Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Display a notification (macOS 10.9+)☆90Updated last month
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Updated 7 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago