ts-remove-unused – Remove unused code from your TypeScript project
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!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Remove redundant synthesize directives from your Objective-C code
Minclude, remove unneeded C/C++ include directives
BackgroundRemoval, AIObjectRemover, WatermarkRemover,
Fullstack Koa, React, Redux, Webpack, TypeScript project
Cerialize – Typescript serialization by annotation
Scala-ts – Scala to TypeScript compiler
Hapi with Typescript
JSONSchema to TypeScript compiler
Transpile Scala to TypeScript
DuoCode 1.0 bridges the gap between C# and TypeScript