Skip to content
JS
Package

split-string

Easy way to split a string on a given character unless it's quoted or escaped.

v6.1.0, 22 Apr 2019MITCommonJSTypes: BundledStrings and text
$ npm install split-string

Key numbers

As of 25 Sept 2026
Weekly downloads
11.6m
+4% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v6.1.0
GitHub stars
60
17 forks
Open issues / PRs
4 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 15.3m (21 Oct 2025)Low 5.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,635,985 downloads last week, 48,097,519 in the last month. The 12-month change of +4% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
019 in total
Latest version
6.1.0, 22 Apr 20197 years ago
First published
27 Aug 2015
Last push to GitHub
29 Mar 20221,640 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
706

Major versions

  1. v6 first release 6.0.0, 14 Aug 2018
  2. v5 first release 5.0.0, 8 Jan 2018
  3. v4 first release 4.0.0, 23 Nov 2017
  4. v3 first release 3.0.0, 15 Jun 2017
  5. v2 first release 2.0.0, 12 Apr 2017
  6. v1 first release 1.0.0, 22 Feb 2017
  7. v0 first release 0.1.0, 27 Aug 2015

Recent releases

VersionPublished
6.1.022 Apr 2019
6.0.014 Aug 2018
5.0.416 Feb 2018
5.0.310 Jan 2018
5.0.28 Jan 2018
5.0.18 Jan 2018
5.0.08 Jan 2018
4.0.023 Nov 2017
3.1.019 Nov 2017
3.0.221 Jun 2017
3.0.115 Jun 2017
3.0.015 Jun 2017
2.1.131 May 2017
2.1.027 Apr 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=8.6
Runtimes
-
Unpacked size (npm)
19 kB
Dependencies (0)
None
npm install split-string
  • jsDelivrhttps://cdn.jsdelivr.net/npm/split-string@6.1.0/
  • unpkghttps://unpkg.com/split-string@6.1.0/
  • esm.shhttps://esm.sh/split-string@6.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
split-on-first13.2m-1 year agoESM only-
@hexagon/base643.3m-1 year agoESM + CommonJS-
string-to-stream358.2k-7 years agoCommonJS-
underscore.string2.4m-4 years agoCommonJS-
str2buf131.6k-8 years agoESM + CommonJS-
@textlint/regexp-string-matcher283.2k-4 years agoCommonJS-
string-hash-64184.2k-9 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.