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!
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
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, September 2024
the whole month →

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


