Announcements

Day 16 — Import Checker: Paste‑ready cleaned imports for PRs

Find unused imports and generate a paste‑ready cleaned import block you can drop straight into your file. Perfect for quick PR cleanups.

1 min read
Import Checker showing cleaned import block output and copy button

Day 16 unlocks the Import Checker — paste your JS/TS code, detect unused imports, and get a paste‑ready cleaned import block for your file. One click, cleaner diffs.

Why this beats an IDE warning

IDEs highlight unused symbols, but you still have to manually edit, shuffle commas, and fix formatting. This tool outputs a fresh, minimal import section you can paste in. It keeps side‑effects, preserves namespaces, and only includes symbols that are actually referenced.

What it does

  • Detects unused imports — default, named, and namespace forms
  • Generates a cleaned import block — only the used symbols
  • Copy‑to‑clipboard — drop it directly into your file

Great for

  • Quick PR tidy-ups when auto‑imports overreach
  • Reducing front‑end bundle size from dead imports
  • Refactors where imports drift from usage

Try it

Visit /day/16, paste a snippet, press Analyze, and copy the cleaned import block. That’s it — fast, client‑side, no login.


Cleaner imports, cleaner diffs. 🚀