Skip to content
JS
Package

expand-template

Expand placeholders in a template string

v2.0.3, 27 Nov 2018(MIT OR WTFPL)CommonJSTypes: NoneStrings and text
$ npm install expand-template

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 22.5m (18 Aug 2026)Low 5.7m (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.

16,210,343 downloads last week, 77,704,328 in the last month. The 12-month change of +112% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
011 in total
Latest version
2.0.3, 27 Nov 20187 years ago
First published
10 Aug 2015
Last push to GitHub
30 Apr 20211,973 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
61

Major versions

  1. v2 first release 2.0.0, 21 Jun 2018
  2. v1 first release 1.0.0, 10 Aug 2015

Recent releases

VersionPublished
2.0.327 Nov 2018
2.0.227 Nov 2018
2.0.120 Nov 2018
2.0.021 Jun 2018
1.1.17 May 2018
1.1.022 Aug 2017
1.0.422 Aug 2017
1.0.314 Sept 2016
1.0.212 Nov 2015
1.0.128 Oct 2015
1.0.010 Aug 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
5.3 kB
Dependencies (0)
None
npm install expand-template
  • jsDelivrhttps://cdn.jsdelivr.net/npm/expand-template@2.0.3/
  • unpkghttps://unpkg.com/expand-template@2.0.3/
  • esm.shhttps://esm.sh/expand-template@2.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.