GitShow/sindresorhus/split-at
sindresorhus

split-at

Split a string at one or more indices

by sindresorhus
Star on GitHubForknpm

JavaScript

25 stars8 forks4 contributorsQuiet · 5y agoSince 2015v3.0.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus13 contributions
BendingBender
BendingBender1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript88%
TypeScript12%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
rockmandash
[Question]: Why splitAt('unicorn', 1) is ['un', 'icorn'] instead of ['u', 'nicorn'] ?ClosedIssue

Why is instead of ? equals is perfect. But postive index is kinda weird, why design like this? Rambda also has this API, but act different when given postive index. https://ramdajs.com/docs/#splitAt

rockmandash · 6y ago
BendingBender
Require Node.js 8, add TypeScript definitionMergedPR

Waiting for https://github.com/sindresorhus/num-sort/pull/1.

BendingBender · 7y ago
Structured data for AI agents

Repository: sindresorhus/split-at. Description: Split a string at one or more indices Stars: 25, Forks: 8. Primary language: JavaScript. Languages: JavaScript (88%), TypeScript (12%). License: MIT. Latest release: v3.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 71%. Top contributors: sindresorhus, BendingBender, Richienb.

·@ofershap

Replace github.com with gitshow.dev