sindresorhus / split-linesLinks
Split lines into an array of lines
☆45Updated 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:
- Turn an object into a string of HTML attributes☆49Updated 2 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 the first path that exists on disk of multiple paths☆60Updated last month
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Split a string at one or more indices☆24Updated 4 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last month
- Check if a path is a file, directory, or symlink☆79Updated last year
- 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
- Truncate a URL to a specific length☆61Updated 3 weeks ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Modify the values of an object☆28Updated 4 years ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆56Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Check if your code is running as an npm or yarn script☆64Updated last month
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Stylelint shareable config for XO☆40Updated 5 months ago
- Mimic a Node.js HTTP response stream☆60Updated last year
- Extract the article title of a HTML document☆55Updated last month
- A stylelint processor for linting CSS in markdown☆26Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Check if a value is an object☆41Updated 4 years ago