sindresorhus / split-linesLinks
Split lines into an array of lines
☆44Updated 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:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Modify the values of an object☆27Updated 3 years ago
- A stylelint processor for linting CSS in markdown☆26Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Get the revved file path of a file☆33Updated 3 years ago
- Check if a value is a function☆27Updated 4 years ago
- Display a notification (macOS 10.9+)☆87Updated 4 years ago
- Clear the terminal cross-platform☆44Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get an array of parent directories including itself☆27Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Check if a value is an object☆40Updated 4 years ago
- Stylelint shareable config for XO☆41Updated last month
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Check if a path exists☆23Updated last year
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Return a list of devices and their viewports☆49Updated 7 years ago