# Terser — card for AI agents

JavaScript parser and ES6+ minifier/beautifier toolkit for production optimization.

Category: Build tools and bundlers · npm package `terser` · latest version 5.51.2 (checked 2026-11-01)
Install: `npm install terser`
License: BSD-2-Clause (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 70.6 (#360 of all tools, 16 of 185 in its category)
- Used in 31 public projects set up for AI coding agents (0.5%)
- Downloads last week: 118,819,176 (as of 2026-11-24), +40.8% over 4 weeks
- GitHub stars: 9,364 (as of 2026-11-24)
- Last push: 2026-11-20

## Often used with
Vite 83.9%, Tailwind CSS 74.2%, React Router 41.9%, React 67.7%, Framer Motion 35.5%, Playwright (JavaScript) 48.4%

## Checked alternatives (same job)
- esbuild: https://agentgid.com/tools/esbuild/agent.md
- SWC: https://agentgid.com/tools/swc-core/agent.md
- webpack: https://agentgid.com/tools/webpack/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/terser/
- Homepage: https://terser.org
- Repository: https://github.com/terser/terser

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
