GitShow/sindresorhus/split-on-first
sindresorhus

split-on-first

Split a string on the first occurrence of a given separator

by sindresorhus
npm-packagesplitstringstring-manipulationstring-split
Star on GitHubForknpm

JavaScript

73 stars14 forks6 contributorsQuiet · 10mo agoSince 2019v4.0.0MIT

Meet the team

See all 6 on GitHub →
sindresorhus
sindresorhus14 contributions
Richienb
Richienb2 contributions
BendingBender
BendingBender1 contribution
fregante
fregante1 contribution
faizanu94
faizanu941 contribution

Languages

View on GitHub →
JavaScript91.4%
TypeScript8.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
fregante
Regex supportClosedIssue

Thoughts on regex support? would have to be replaced with

fregante · 10mo ago
void-spark
Update from CommonJS to ESMClosedIssue

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
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y 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 (10mo ago). Open PRs: 0, open issues: 0. Last activity: 10mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, BendingBender, fregante, faizanu94.

·@ofershap

Replace github.com with gitshow.dev