Skip to content
JS
Package

strip-literal

Strip comments and string literals from JavaScript code

v4.0.0, 30 Jul 2026MITESM onlyTypes: Bundled
$ npm install strip-literal

Key numbers

As of 25 Sept 2026
Weekly downloads
20.5m
+102% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 month ago
v4.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

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

20,477,949 downloads last week, 105,713,280 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
217 in total
Latest version
4.0.0, 30 Jul 20261 month ago
First published
7 May 2022
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
91

Major versions

  1. v4 first release 4.0.0, 30 Jul 2026
  2. v3 first release 3.0.0, 15 Jan 2025
  3. v2 first release 2.0.0, 29 Dec 2023
  4. v1 first release 1.0.0, 14 Nov 2022
  5. v0 first release 0.1.0, 7 May 2022

Recent releases

VersionPublished
4.0.030 Jul 2026
3.1.027 Sept 2025
3.0.015 Jan 2025
2.1.123 Nov 2024
2.1.029 Mar 2024
2.0.029 Dec 2023
1.3.03 Aug 2023
1.2.02 Aug 2023
1.1.02 Aug 2023
1.0.13 Feb 2023
1.0.014 Nov 2022
0.4.218 Sept 2022
0.4.112 Sept 2022
0.4.014 Jun 2022
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
6.4 kB
Dependencies (1)
js-tokens
npm install strip-literal
  • jsDelivrhttps://cdn.jsdelivr.net/npm/strip-literal@4.0.0/
  • unpkghttps://unpkg.com/strip-literal@4.0.0/
  • esm.shhttps://esm.sh/strip-literal@4.0.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

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