Skip to content
JS
Package

strip-comments-strings

Strip or extract comments, strings or both from source code.

v1.2.0, 12 Jun 2022MITESM + CommonJSTypes: None
$ npm install strip-comments-strings

Key numbers

As of 25 Sept 2026
Weekly downloads
488.2k
+67% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v1.2.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 832.6k (28 Apr 2026)Low 218.4k (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.

488,237 downloads last week. The 12-month change of +67% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
1.2.0, 12 Jun 20224 years ago
First published
20 Feb 2022
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 20 Feb 2022

Recent releases

VersionPublished
1.2.012 Jun 2022
1.1.94 Jun 2022
1.1.84 Mar 2022
1.1.73 Mar 2022
1.1.525 Feb 2022
1.1.421 Feb 2022
1.1.320 Feb 2022
1.1.220 Feb 2022
1.1.120 Feb 2022
1.1.020 Feb 2022
1.0.620 Feb 2022
1.0.520 Feb 2022
1.0.420 Feb 2022
1.0.320 Feb 2022
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
25 kB
Dependencies (0)
None
npm install strip-comments-strings
  • jsDelivrhttps://cdn.jsdelivr.net/npm/strip-comments-strings@1.2.0/
  • unpkghttps://unpkg.com/strip-comments-strings@1.2.0/
  • esm.shhttps://esm.sh/strip-comments-strings@1.2.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): completeness 0.5 < 0.6 (missing: github_owner, stars, release_date, category); GitHub data not fetched yet; no category.