typescript-dry
v0.1.2
Published
Detect duplicate or near-duplicate type definitions in TypeScript codebases.
Maintainers
Readme
🧠 typescript-dry
A tool to detect duplicate or near-duplicate TypeScript type/interface definitions in your codebase.
Installation
Install typescript-dry via npm:
npm install -g typescript-dryUsage
Scan your repository for exact duplicate type/interface definitions:
npx typescript-dry .Detect near-duplicate definitions with a similarity threshold (e.g., 85%):
npx typescript-dry . -t 0.85Features
- Exact Duplicate Detection: Identifies identical TypeScript type and interface definitions.
- Fuzzy Matching: Finds near-duplicate definitions with a configurable similarity threshold.
- Lightweight: Seamlessly integrates into your TypeScript development workflow.
License
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
Support
If you encounter issues or have questions, file an issue on the GitHub repository.
