sindresorhus / split-on-first
Split a string on the first occurrence of a given separator
☆74Updated 2 years ago
Alternatives and similar repositories for split-on-first:
Users that are interested in split-on-first are comparing it to the libraries listed below
- Get the version of a binary in semver format☆42Updated last year
- Mimic a Node.js HTTP response stream☆59Updated last year
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Check if a project is using Yarn☆66Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the version of a binary in semver format☆35Updated last year
- Linkify GitHub issue references☆46Updated 7 months ago
- Add XO to your project☆47Updated last year
- Delay execution for a given amount of seconds☆85Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Check if a string is a URL☆85Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the shortest leading whitespace from lines in a string☆19Updated 4 years ago
- Clean and beautiful options for minimist☆53Updated 2 years ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Detect system color scheme changes on the web (Dark Mode)☆58Updated 4 years ago
- Create a HTML element string☆91Updated 5 months ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Strip console, alert, and debugger statements from JavaScript code☆29Updated 2 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- List of JavaScript types☆82Updated last year
- Alphabetically sort an array of strings☆39Updated 4 years ago
- Listen for changes in your conf config☆27Updated 7 years ago
- Get supervillain names on the command-line☆37Updated last year
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Stylelint shareable config for XO☆41Updated 11 months ago
- Kap plugin - Share on Cloudinary☆15Updated last year
- Simple wildcard matching☆34Updated 3 years ago