NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2271 most downloaded on npm
Split a string on the first occurance of a given separator
Latest stable
4.0.0
Last release 1 years ago
20 Aug 2025
Release timing varies
gaps range from 2 months to 4.4 years
Most releases are documented
notes for 5 of 6 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
6 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Add regex support for separator option 12e1edb
separator option 12e1edbhttps://github.com/sindresorhus/split-on-first/compare/v3.0.0...v4.0.0
This package is now pure ESM. Please read this.
https://github.com/sindresorhus/split-on-first/compare/v2.0.1...v3.0.0
Gracefully handle empty input string (#10) 55511cb
Your coding agent can read these notes before it upgrades. Set up the MCP server →
https://github.com/sindresorhus/split-on-first/compare/v2.0.0...v2.0.1
Return empty array if there's no match or if the separator is an empty string (#8) 91c3ac2 See the diff here: https://github.com/sindresorhus/split-on
https://github.com/sindresorhus/split-on-first/compare/v1.1.0...v2.0.0
Add TypeScript definition (#4) f0b7606
https://github.com/sindresorhus/split-on-first/compare/v1.0.0...v1.1.0
Nothing published for this version
One column per quarter.