ts-unused-exports
TypeScript analyzer that locates exported symbols never consumed by another module, reporting unused exports per file so developers can prune dead public API surface from a TypeScript project.
ts-unused-exports at github.com/pzavolinsky/ts-unused-exports is a free MIT TypeScript unused export analyzer, npm 11.0.1 no declared engine range, loads TypeScript config and builds the program, checks each exported symbol against codebase references, lists exports no other module imports, groups unused exports by file with ignore patterns for public or generated modules, targets exported symbols and leaves internal unused variables to linters, local CLI and CI option, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is ts-unused-exports free?
ts-unused-exports: ts-unused-exports is free open-source software released under the MIT License; the ts-unused-exports package latest 11.0.1 on npm does not declare a Node engine range. It loads the TypeScript configuration, builds the program, and checks each exported symbol against references across the codebase, listing exports that no other module imports. The report groups unused exports by file and supports ignore patterns for intentionally public or generated modules. It targets exported symbols specifically, leaving internal unused variables to linters, and runs as a local CLI that can be added to CI. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is ts-unused-exports free?
The code is free to self-host, but a hosted plan from the vendor may not be. ts-unused-exports publishes its source, so cost depends on where you run it.
How much does ts-unused-exports cost?
ts-unused-exports is free open-source software released under the MIT License; the ts-unused-exports package latest 11.0.1 on npm does not declare a Node engine range. It loads the TypeScript configuration, builds the program, and checks each exported symbol against references across the codebase, listing exports that no other module imports. The report groups unused exports by file and supports ignore patterns for intentionally public or generated modules. It targets exported symbols specifically, leaving internal unused variables to linters, and runs as a local CLI that can be added to CI. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check ts-unused-exports's current pricing?
On ts-unused-exports's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is ts-unused-exports?
The TypeScript program indexes exports, reference counts trace imports across modules, zero-reference exports are grouped by file, and ignore patterns preserve intentional public API.
How does pricing work?
The analyzer installs free under MIT with no seat license; TypeScript tooling follows its own terms, and any commercial support would be outside the open-source project.
How does ts-unused-exports compare with other tools in Dev Workflow & Productivity?
ts-unused-exports is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| ts-unused-exports | Open source | ts-unused-exports is free open-source software released under the MIT License; the ts-unused-exports package latest 11.0.1 on npm does not declare a Node engine range. It loads the TypeScript configuration, builds the program, and checks each exported symbol against references across the codebase, listing exports that no other module imports. The report groups unused exports by file and supports ignore patterns for intentionally public or generated modules. It targets exported symbols specifically, leaving internal unused variables to linters, and runs as a local CLI that can be added to CI. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Knip | Open source | Knip is free open-source software released under the ISC License; the knip package latest 6.47.0 on npm requires Node 20.19.0 or above, or Node 22.12.0 or above. It reads the project source and package manifests, traces which dependencies are actually imported, and reports packages listed but never used, exports that no other file consumes, files that are never referenced, and entry points that may be missing. It works across TypeScript and JavaScript projects and can be wired into CI to keep the dependency list and codebase from accumulating dead weight. The reports distinguish unused dependencies from unused exports and files, so cleanup can be split between package removal and code deletion. No paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026). | Nov 22, 2026 |
| ts-prune | Open source | ts-prune is free open-source software released under the MIT License; the ts-prune package latest 0.10.3 on npm does not declare a Node engine range. It reads the TypeScript program, walks exported functions, classes, constants and types, and checks whether each export is imported anywhere else in the project. Exports with no importer are listed as candidates for removal, with options to ignore specific paths or exports. The tool focuses on unused exported symbols rather than package dependencies, so it complements dependency checkers that audit package.json. It runs as a local CLI and can be added to CI to surface newly orphaned exports. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
ts-unused-exports's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: ts-unused-exports is free open-source software released under the MIT License; the ts-unused-exports package latest 11.0.1 on npm does not declare a Node engine range. It loads the TypeScript configuration, builds the program, and checks each exported symbol against references across the codebase, listing exports that no other module imports. The report groups unused exports by file and supports ignore patterns for intentionally public or generated modules. It targets exported symbols specifically, leaving internal unused variables to linters, and runs as a local CLI that can be added to CI. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Knip
Tool that finds unused dependencies, exports, files and dependencies in TypeScript and JavaScript projects, reporting dead code, missing package entries and unused exports so teams can trim bundles and remove stale packages.
ts-prune
TypeScript CLI that scans a project and lists exported symbols which no other file imports, helping developers remove unused exports and dead code from a TypeScript codebase.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
