Skip to content
JS
Package

dedent

A string tag that strips indentation from multi-line strings. ⬅️

v1.7.2, 1 Mar 2026MITESM + CommonJSTypes: Bundled
$ npm install dedent

Key numbers

As of 25 Sept 2026
Weekly downloads
50.2m
+43% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 months ago
v1.7.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 69.4m (25 Aug 2026)Low 20.9m (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.

50,154,384 downloads last week, 233,461,728 in the last month. The 12-month change of +43% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
224 in total
Latest version
1.7.2, 1 Mar 20266 months ago
First published
13 Jan 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
2,590

Major versions

  1. v1 first release 1.0.0, 2 Jul 2023
  2. v0 first release 0.1.0, 13 Jan 2015

Recent releases

VersionPublished
1.7.21 Mar 2026
1.7.117 Dec 2025
1.7.03 Sept 2025
1.6.01 May 2025
1.5.311 Apr 2024
1.5.210 Apr 2024
1.5.131 Jul 2023
1.5.030 Jul 2023
1.4.030 Jul 2023
1.3.027 Jul 2023
1.2.018 Jul 2023
1.1.017 Jul 2023
1.0.214 Jul 2023
1.0.110 Jul 2023
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (0)
None
Peer dependencies (1)
babel-plugin-macros
npm install dedent
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dedent@1.7.2/
  • unpkghttps://unpkg.com/dedent@1.7.2/
  • esm.shhttps://esm.sh/dedent@1.7.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.