sindresorhus / split-lines
Split lines into an array of lines
☆44Updated last year
Related projects ⓘ
Alternatives and complementary repositories for split-lines
- A list of directories you should ignore by default☆23Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- A stylelint processor for linting CSS in markdown☆26Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Truncate a URL to a specific length☆61Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Modify the values of an object☆28Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 7 months ago
- Get an array of parent directories including itself☆27Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Check if a value is a function☆27Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Import a globally installed module☆57Updated 10 months ago
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- Array of "block level elements" defined by the HTML specification☆19Updated 7 years ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- Linkify GitHub issue references☆46Updated last month
- Stylelint shareable config for XO☆42Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get the revved file path of a file☆33Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Kap plugin - Share on Cloudinary☆15Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Display an error in a GUI dialog☆22Updated 3 years ago
- Lazy number range generator☆82Updated 10 months ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago