terser
npm9.4k GitHub starsv5.51.2 · Aug 2026 · BSD-2-Clause (top-level declared license)
npm install terser- No known CVEs
- 313.4M downloads/mo
- 210 versions
Description
🗜 JavaScript parser, mangler and compressor toolkit for ES6+
Licenses
Declared license
BSD-2-Clause (top-level declared license of terser)
Transitive dependency licenses
terser pulls in 10 transitive dependencies across 2 distinct licenses, all permissive.
| License | Category | Dependencies |
|---|---|---|
| MIT | Permissive | 9 of 10 |
| BSD-3-Clause | Permissive | 1 of 10 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need terser approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 5.51.2 | Aug 2026 | BSD-2-Clause |
| 5.51.1 | Aug 2026 | |
| 5.51.0 | Aug 2026 | |
| 5.50.0 | Aug 2026 | |
| 5.49.2 | Aug 2026 | |
| 5.49.1 | Aug 2026 | |
| 5.49.0 | Jul 2026 | |
| 5.48.0 | May 2026 | |
| 5.47.1 | May 2026 | |
| 5.47.0 | May 2026 | |
| 5.46.2 | Apr 2026 | |
| 5.46.1 | Mar 2026 | |
| 5.46.0 | Jan 2026 | |
| 5.45.0 | Jan 2026 | |
| 5.44.1 | Nov 2025 | |
| 5.44.0 | Sep 2025 | |
| 5.43.1 | Jun 2025 | |
| 5.43.0 | Jun 2025 | |
| 5.42.0 | Jun 2025 | |
| 5.41.0 | Jun 2025 | |
| 5.40.0 | May 2025 | |
| 5.39.2 | May 2025 | |
| 5.39.1 | May 2025 | |
| 5.39.0 | Feb 2025 | |
| 5.38.2 | Feb 2025 |
25 older releases
| Version | Published | License |
|---|---|---|
| 5.38.1 | Feb 2025 | |
| 5.38.0 | Feb 2025 | |
| 5.37.0 | Dec 2024 | |
| 5.36.0 | Oct 2024 | |
| 5.35.0 | Oct 2024 | |
| 5.34.1 | Sep 2024 | |
| 5.34.0 | Sep 2024 | |
| 5.33.0 | Sep 2024 | |
| 5.32.0 | Sep 2024 | |
| 5.31.6 | Aug 2024 | |
| 5.31.5 | Aug 2024 | |
| 5.31.4 | Aug 2024 | |
| 5.31.3 | Jul 2024 | |
| 5.31.2 | Jul 2024 | |
| 5.31.1 | Jun 2024 | |
| 5.31.0 | Apr 2024 | |
| 5.30.4 | Apr 2024 | |
| 5.30.3 | Apr 2024 | |
| 5.30.2 | Apr 2024 | |
| 5.30.1 | Apr 2024 | |
| 5.30.0 | Mar 2024 | |
| 5.29.2 | Mar 2024 | |
| 5.29.1 | Mar 2024 | |
| 5.29.0 | Mar 2024 | |
| 5.28.1 | Feb 2024 |
Latest pre-release: 5.6.0-beta (Feb 2021). Pre-releases (canary, beta, release candidate and similar) are not listed.
npm install terser resolves to the 5.x line today. Older major lines may still receive fixes.
Direct dependencies
4 direct dependencies, 10 in total including transitive. Licenses across the full tree are summarized under Licenses.
| Package | Version range | License |
|---|---|---|
| @jridgewell/source-map | ^0.3.3 | MIT |
| acorn | ^8.15.0 | MIT |
| commander | ^2.20.0 | MIT |
| source-map-support | ~0.5.20 | MIT |
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Downloads last month
- 313.4M
- Known dependents in this corpus
- 87,842
- GitHub stars
- 9.4k
- OpenSSF score
- 5.8 / 10
FAQ
- What is the latest version of terser?
- The latest version of terser is 5.51.2, published August 2026.
- What license is terser under?
- terser declares BSD-2-Clause as its top-level declared license. Its dependency tree spans 2 distinct licenses.
- Does terser have known vulnerabilities?
- No known CVEs are recorded against published versions of terser.
- How do I install terser?
- Install terser with npm install terser.
- How do I generate an SBOM that includes terser?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes terser. Generate an SPDX or CycloneDX SBOM free.