typescript-dry
    Preparing search index...

    typescript-dry

    🧠 typescript-dry

    CI npm downloads size codecov docs license

    A tool to detect duplicate or near-duplicate TypeScript type/interface definitions in your codebase.

    Install typescript-dry via npm:

    npm install -g typescript-dry
    

    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.85
    
    • 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.

    MIT License

    Contributions are welcome! Please open an issue or submit a pull request on GitHub.

    If you encounter issues or have questions, file an issue on the GitHub repository.