Split a string on the first occurrence of a given separator
☆75Aug 20, 2025Updated 6 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
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated last month
- Get all email addresses in a string☆60Feb 2, 2026Updated last month
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Assert a Map has a given key and return the value for it.☆12Nov 20, 2022Updated 3 years ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Check if a project is using Yarn☆66Sep 15, 2025Updated 5 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Get all property keys of an object including non-enumerable and inherited ones☆110Sep 7, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Filter object keys and values into a new object☆105May 27, 2024Updated last year
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- List of text file extensions☆60Oct 29, 2024Updated last year
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Convert a string to a valid safe filename on the command-line☆64Sep 15, 2025Updated 5 months ago
- Cross-platform `/dev/null`☆94Oct 14, 2021Updated 4 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆126May 2, 2024Updated last year
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Inline, Promise based wrapper around JS Web Workers.☆14Jan 5, 2023Updated 3 years ago
- Sort an array of numbers☆18Sep 18, 2025Updated 5 months ago
- Get the path of the parent module☆79Sep 15, 2025Updated 5 months ago
- Check if stdout or stderr is interactive☆119Nov 6, 2023Updated 2 years ago
- Simple micro templating☆78Sep 16, 2025Updated 5 months ago