Dev tools · September 16, 2024
ts-remove-unused – Remove unused code from your TypeScript project
ts-remove-unused is a command line tool for TypeScript projects that auto-fixes unused `export`s. It removes the export keyword from the declaration or the whole declaration based on its usage in the project. There are some similar tools but they are focused on "detecting" rather than "removing" so I've built one myself. I wanted a solution that's as minimal as possible; config files to specify the files in your project shouldn't be necessary because that info should be already configured in tsconfig.json. All you need to do is to specify your entrypoint file. Feedback is much appreciated!
ts-remove-unused – Remove unused code from your TypeScript project launched on September 16, 2024 with 141 votes, #440 of 5,281 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
ts-remove-unused is a command-line tool that automatically removes unused exports from TypeScript projects. Rather than just detecting unused code, it actively deletes the export keyword from declarations or removes them entirely based on actual usage across the project. It's designed for TypeScript developers who want minimal configuration, relying on existing tsconfig.json settings instead of requiring separate config files. Users only need to specify their project's entry point to run the tool.
written from the facts on this page · September 2026
From the sources
TypeScript Remove (tsr) is a utility that removes unused code from TypeScript projects – It's like tree shaking, but for source files - line/tsr
Does a similar job
all alternatives →
ts-prune – Find unused exports in a TypeScript project2019 · github.com · ▲8Find unused exports in a typescript project. 🛀. Contribute to nadeesha/ts-prune development by creating an account on GitHub.

Node.js node_modules file pruning2017 · github.com · ▲111Remove unnecessary files from node_modules (.md, .ts, ...) - tj/node-prune
- TBts-blank-space – fast TypeScript type-stripper2024 · bloomberg.github.io · ▲22
We've built a new type-stripping compiler for TypeScript source: `ts-blank-space` It's: * 5.6x faster than `tsc` due to zero-codegen * Written in TypeScript * Uses the official TypeScript parser * Accurate/preserved source locations * In used in production It uses the same novel approach that inspired Node 22.6.0's `--experimental-strip-types` functionality, released last month
UnusedJun 2026 · marketplace.visualstudio.com · ▲3A VS Code extension that detects dead code across a codebase

More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 22d ago · openbot.run
Talanoa▲341Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, September 2024
the whole month →

BeforeSunset AI 2.0▲1,267Personalized AI daily planning that suits your life
AI · 2024 · beforesunset.ai


