Skip to content
JS
Package

@babel/template

Generate an AST from a string template.

v8.0.0, 16 Jun 2026MITESM onlyTypes: BundledBuild tools
$ npm install @babel/template

Key numbers

As of 25 Sept 2026
Weekly downloads
144m
+130% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
3 months ago
v8.0.0
GitHub stars
44k
6k forks
Open issues / PRs
595 / 175
Contributors
1,262
Commits, last 52 weeks
462

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150m200mSept 2025Mar 2026Sept 2026High 190.2m (18 Aug 2026)Low 40.3m (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.

144,003,318 downloads last week, 691,913,422 in the last month. The 12-month change of +130% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
344 in total
Latest version
8.0.0, 16 Jun 20263 months ago
First published
30 Oct 2017
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
595
Open pull requests
175
Commits, last 52 weeks
462
Dependents on npm
871

Major versions

  1. v8 first release 8.0.0, 16 Jun 2026
  2. v7 first release 7.0.0, 27 Aug 2018

Recent releases

VersionPublished
8.0.016 Jun 2026
7.29.725 May 2026
7.28.612 Jan 2026
7.27.26 May 2025
7.27.130 Apr 2025
7.27.024 Mar 2025
7.26.914 Feb 2025
7.26.88 Feb 2025
7.25.922 Oct 2024
7.25.72 Oct 2024
7.25.026 Jul 2024
7.24.75 Jun 2024
7.24.624 May 2024
7.24.028 Feb 2024
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^22.18.0 || >=24.11.0
Runtimes
-
Unpacked size (npm)
65 kB
Dependencies (3)
@babel/types@babel/parser@babel/code-frame
npm install @babel/template

CDN

jsDelivr: 259.9k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@babel/template@8.0.0/
  • unpkghttps://unpkg.com/@babel/template@8.0.0/
  • esm.shhttps://esm.sh/@babel/template@8.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@swc/core30m-20 days agoCommonJS-
@swc/types26.6m-1 month ago--
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.