Skip to content
JS
Package

string-format

String formatting inspired by Python's str.format()

v2.0.0, 18 May 2018WTFPL OR MIT-Types: None
$ npm install string-format

Key numbers

As of 25 Sept 2026
Weekly downloads
877.6k
+41% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v2.0.0
GitHub stars
332
36 forks
Open issues / PRs
8 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (16 Jun 2026)Low 385.1k (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.

877,635 downloads last week, 4,032,589 in the last month. The 12-month change of +41% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
2.0.0, 18 May 20188 years ago
First published
7 Feb 2012
Last push to GitHub
5 Apr 20192,729 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
565

Major versions

  1. v2 first release 2.0.0, 18 May 2018
  2. v1 first release 1.0.0, 26 Mar 2018
  3. v0 first release 0.1.0, 7 Feb 2012

Recent releases

VersionPublished
2.0.018 May 2018
1.0.026 Mar 2018
0.5.024 Jan 2015
0.2.116 Dec 2012
0.2.03 Sept 2012
0.1.07 Feb 2012
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.7 kB
Dependencies (0)
None
npm install string-format
  • jsDelivrhttps://cdn.jsdelivr.net/npm/string-format@2.0.0/
  • unpkghttps://unpkg.com/string-format@2.0.0/
  • esm.shhttps://esm.sh/string-format@2.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.