Split a string on the first occurrence of a given separator
☆73Aug 20, 2025Updated 11 months 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 4 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Jul 9, 2022Updated 4 years ago
- Get the version of a binary in semver format☆43Apr 3, 2024Updated 2 years ago
- Check if a project is using Yarn☆65Sep 15, 2025Updated 10 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 5 months ago
- Wait for any promise to be fulfilled☆57Jul 9, 2022Updated 4 years ago
- Filter object keys and values into a new object☆105May 27, 2024Updated 2 years ago
- Convert a string to a valid safe filename on the command-line☆64Sep 15, 2025Updated 10 months ago
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 4 years ago
- Get free disk space info from `df -kP`☆65Sep 13, 2025Updated 10 months ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆125May 2, 2024Updated 2 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 5 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 4 years ago
- Get the version of a binary in semver format☆35Apr 3, 2024Updated 2 years ago
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`☆77Aug 12, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- Assert a Map has a given key and return the value for it.☆11Nov 20, 2022Updated 3 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- List of text file extensions☆60Oct 29, 2024Updated last year
- Check if something is a generator function☆24Jul 8, 2022Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated 5 months ago
- Get the path to this package - Useful for testing☆23May 6, 2026Updated 2 months ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Get the path of the parent module☆78Sep 15, 2025Updated 10 months ago
- Check if something is a promise☆45Apr 16, 2021Updated 5 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Check if stdout or stderr is interactive☆118Nov 6, 2023Updated 2 years ago
- Get all email addresses in a string☆60Feb 2, 2026Updated 5 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Check if a string is a valid filename☆60Aug 16, 2021Updated 4 years ago
- Sort an array of numbers☆18Sep 18, 2025Updated 10 months ago
- Get all property keys of an object including non-enumerable and inherited ones☆109Sep 7, 2021Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago