# nadeesha/ts-prune

Find unused exports in a typescript project. 🛀

Repository: https://github.com/nadeesha/ts-prune
Canonical: https://ross.abutalabs.com/products/ts-prune
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, utility
Archived: true
Last push: 2025-09-19T21:44:07+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 42, release rhythm 8, longevity 100
- inputs: {"age_days": 2686, "days_push": 348, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2067, forks 68 (observed 2026-08-28T04:06:10.164586+00:00)

## What it is
ts-prune is a zero-configuration CLI tool that finds potentially unused exports in TypeScript projects. It is now in maintenance mode, with knip recommended for new projects.

## Use cases
- find unused exports in a typescript project
- clean up dead code from my codebase
- reduce bundle size by removing unused exports
- detect exports that are never imported
- audit typescript codebase for dead code in CI

## When to choose
- you have an existing TypeScript project already using ts-prune
- you want a fast, zero-config dead export detector
- you only need critical fixes and stability rather than new features

## When to avoid
- starting a new project - use knip instead
- you need advanced features like unused files, dependencies, or monorepo support
- your project is not TypeScript/JavaScript

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, developer-tools, static-site-generator
- domain: developer-tools, version-control
- platform: cli, cross-platform
- tags: dead-code-detection, unused-exports, typescript, code-quality, zero-config, command-line, nodejs

## Member repositories
- nadeesha/ts-prune (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:10.164586+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:56:49.835119+00:00, confidence not recorded.
  - readme: https://github.com/nadeesha/ts-prune (fetched 2026-08-28T04:06:10.164586+00:00, sha bbdd716c117b)
  - registry_npm: https://registry.npmjs.org/ts-prune (fetched 2026-08-29T10:37:24.056980+00:00, sha c35bd0b3be25)
- Data as of 2026-08-30T08:39:29.467469+00:00.
