Getting Started
Optiprune is a next-generation dead-code analyzer. Unlike traditional scanners, it uses a 6-layer architecture to understand your code's logic and framework context.
Installation
bash
npm install -g optipruneUsage
Run it in your project root:
bash
optiprune --rootDir . --entry src/index.tsWhy Optiprune?
- Precision: Uses Z3 Solver for formal logic.
- Resilience: Doesn't crash on syntax errors.
- Intelligence: Understands framework decorators (NestJS, TypeORM).