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
- A list of directories you should ignore by default☆23Updated 3 years ago
- Modify the values of an object☆29Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Split a string at one or more indices☆25Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Truncate a URL to a specific length☆62Updated 3 months ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Extract the article title of a HTML document☆56Updated 3 months ago
- Filter object keys and values into a new object☆105Updated last year
- Lowercase the keys of an object☆41Updated 2 years ago
- Check if a value is a function☆29Updated 4 years ago
- Alphabetically sort an array of strings☆40Updated 4 years ago
- Check if a value is an object☆42Updated 4 years ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Create a revved file path☆21Updated 3 years ago
- A stylelint processor for linting CSS in markdown☆26Updated 3 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year