# smeijer/unimported

Find and fix dangling files and unused dependencies in your JavaScript projects.

Repository: https://github.com/smeijer/unimported
Canonical: https://ross.abutalabs.com/products/unimported
Language: TypeScript
License: MIT
License Family: permissive
Topics: nodejs, cli, analysis, hacktoberfest
Archived: true
Last push: 2024-03-10T19:22:40+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2319, "days_push": 906, "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 1968, forks 71 (observed 2026-08-28T04:06:00.025838+00:00)

## What it is
unimported is a Node.js CLI that scans JavaScript/TypeScript projects by following import/require statements from entry files to report unimported source files, missing dependencies, and removable dependencies. It supports ignore lists, auto-fix deletion of unimported files, and CI integration, but is now archived in favor of knip.

## Use cases
- find unused source files in a javascript project
- detect dependencies missing from package.json
- remove obsolete dependencies from package.json
- enforce dead code checks in CI
- clean up dangling files in a typescript codebase

## When to choose
- you need a quick npx-based scan for unused files and dependencies in a JS/TS project
- you want CI to fail on unimported files or unlisted dependencies

## When to avoid
- you need an actively maintained tool - the project is archived and recommends knip
- you need language support beyond JavaScript/TypeScript

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: linter, cli, developer-tools, dependency-audit
- domain: developer-tools
- platform: cli, cross-platform
- tags: unused-files, unused-dependencies, static-analysis, javascript, typescript, ci, archived, command-line, nodejs

## Member repositories
- smeijer/unimported (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:00.025838+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-30T03:05:12.364942+00:00, confidence not recorded.
  - readme: https://github.com/smeijer/unimported (fetched 2026-08-28T04:06:00.025838+00:00, sha 6c8964f0a28b)
  - registry_npm: https://registry.npmjs.org/unimported (fetched 2026-08-29T10:45:13.868032+00:00, sha 7c9b81c3a6a7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
