simonhaenisch/prettier-plugin-organize-imports
Make Prettier organize your imports using the TypeScript language service API. observed · 2026-08-28
Health v2 · maintenance only
44/100
- Activity 42
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 180.5
- age_days: 2406
- days_rel: 349
- days_push: 349
- n_releases_24m: 3
Adoption not part of the score
1238 stars · 46 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Prettier plugin that organizes import statements (sorting, combining, and removing unused ones) using the TypeScript language service API. It supports .js, .jsx, .ts, .tsx, and .vue files and requires zero configuration.
Use cases
- sort imports in typescript files automatically
- remove unused imports when formatting with prettier
- stop merge conflicts caused by import statements
- make prettier organize imports like vs code
- organize imports in vue single-file components
- enforce consistent import order across a team
When to choose
- you already use Prettier and want automatic import organization
- you want the same behavior as VS Code's 'Organize Imports' action in CI or formatting pipelines
- you work with TypeScript, JavaScript, JSX, TSX, or Vue files
When to avoid
- you use other Prettier plugins that override the babel, typescript, or vue parsers, since they are incompatible
- you don't use Prettier in your project
- you need import organization for languages other than JS/TS/Vue
Facets
plugin · maturity active
formatter developer-tools developer-tools web-development frontend cli editor-plugin prettier-plugin sort-imports typescript javascript vue code-style nodejs
2 sources
- readme: https://github.com/simonhaenisch/prettier-plugin-organize-imports · fetched 2026-08-28 · d7705b52663b
- registry_npm: https://registry.npmjs.org/prettier-plugin-organize-imports · fetched 2026-08-29 · a4d09df20097
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| simonhaenisch/prettier-plugin-organize-imports | main | 44 |
For agents
markdown · JSON · MCP: product_card(name="simonhaenisch/prettier-plugin-organize-imports")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem