sindresorhus

split-on-first

Split a string on the first occurrence of a given separator

by sindresorhus

JavaScript

JavaScript91.4%
TypeScript8.6%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
fregante
Regex supportClosedIssue

Thoughts on regex support? would have to be replaced with

fregante · 1y ago
void-spark

Hi! I would like to use query-string in a environment that doesn't support the old CommonJS, it uses ESM since recently, but it still depends on split-on-first which does not. Any chance of updating it? A similar change was done recently for another dependency, which can be used as example: https://github.com/SamVerschueren/decode-uri-component/pull/11 Thanks!

void-spark · 3y ago
Structured data for AI agents

Repository: sindresorhus/split-on-first. Description: Split a string on the first occurrence of a given separator Stars: 73, Forks: 14. Primary language: JavaScript. Languages: JavaScript (91.4%), TypeScript (8.6%). License: MIT. Topics: npm-package, split, string, string-manipulation, string-split. Latest release: v4.0.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, BendingBender, fregante, faizanu94.