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:
- A list of directories you should ignore by default☆23Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Split a string at one or more indices☆24Updated 4 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Truncate a URL to a specific length☆61Updated 2 months ago
- Get metadata on the default editor or a specific editor☆54Updated 2 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated 2 years ago
- Modify the values of an object☆28Updated 4 years ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Find array elements. Executes a callback for each element, returns the first element for which its callback returns a truthy value.☆29Updated 6 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- PostCSS plugin to discard overridden keyframes or counter-style.☆16Updated 9 years ago
- Clean and beautiful options for minimist☆53Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Check if a value is an object☆42Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Conditional promise chains☆63Updated 4 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 2 months ago