Skip to content
PluginStats

prettier-remove-unused-only weekly downloads statistics

By simonhaenisch (3 listings) · npm · Prettier plugins

prettier-plugin-organize-imports 에서 unused만 사용하게 변경한 플러그인

View on npm Fresh · Oct 17, 2026

prettier-remove-unused-only has 3 recorded weekly downloads on npm, a decrease of 86.4% over the past 30 days.

It ranks #2096 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by 0.0%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
3
Official API · Oct 17, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-86.4%
-19 weekly downloads
90-day growth
0.0%
0 weekly downloads
Rank
#2096
Among tracked npm listings

About prettier-remove-unused-only

Prettier Plugin: Organize Imports

Make sure that your import statements stay consistent no matter who writes them and what their preferences are.

A plugin that makes Prettier organize your imports (i. e. sorts, combines and removes unused ones) using the organizeImports feature of the TypeScript language service API. This is the same as using the "Organize Imports" action in VS Code.

Features

• 👌 Dependency-free (just peer-dependencies you probably already have). • 💪 Supports .js, .jsx, .ts, .tsx and .vue files. • 🚀 Zero config. • 🤓 No more weird diffs or annoying merge conflicts in PRs caused by import statements. • 🤯 If your editor supports auto-imports, you'll stop thinking about your imports so much that you won't even care about their order anymore.

Caveat

This plugin inherits, extends, and then overrides the built-in Prettier parsers for babel, babel-ts, typescript and vue. This means that it is incompatible with other plugins that do the same; only the last loaded plugin that exports one of those parsers will function.

Installation

_Note that prettier and typescript are peer dependencies, so make sure you have those installed in your project._

Usage

Prettier 3

Automatic plugin discovery has been removed. Thus you need to configure Prettier to use the plugin according to the Plugins docs, for example by adding it to the plugins config option:

Prettier 2

The plugin will be loaded by Prettier automatically. No configuration needed.

Note that automatic plugin discovery is not supported with some package managers, e. g. Yarn PnP (see https://github.com/prettier/prettier/issues/8474). In that case follow the instructions for Prettier 3 above.

Configuration

Skip Files

Files containing the substring // organize-imports-ignore or // tslint:disable:ordered-imports are skipped.

Skip Destructive Code Actions

If you don't want destructive code actions (like removing unused imports), you can enable the option organizeImportsSkipDestructiveCodeActions via your Prettier config.

Compatibility

ESLint

For compatibility with ESLint or other linters, see "Integrating with Linters" in the Prettier docs. You should have any import order rules/plugins disabled.

React

Depending on your configuration, if you need the React import to stay even if it's "unused" (i.e. only needed for the JSX factory), make sure to have the jsx option set to react in your tsconfig.json. For more details click here.

Vue.js

Make sure that you have the optional peer dependency vue-tsc installed.

If you're using Vue.js with Pug templates, you'll also need to install @vue/language-plugin-pug as a dev dependency, and configure it in vueCompilerOptions (see usage).

Debug Logs

If something doesn't work, you can try to prefix your prettier command with DEBUG=true which will enable this plugin to print some logs.

Rationale/Disclaimer

This plugin acts outside of Prettier's scope because _"Prettier only prints code. It does not transform it."_, and technically sorting is a code transformation because it changes the AST (this plugin even removes code, i. e. unused imports). In my opinion however, the import statements are not _really_ part of the code, they are merely directives that instruct the module system where to find the code (only true as long as your imports are side-effects free regarding the global scope, i. e. import order doesn't matter), comparable with using directives in C# or #include preprocessing directives in C. Therefore the practical benefits outweigh sticking with the philosophy in this case.

Changelog

See changelog.md.

License

MIT.

Description from the npm listing.

  • prettier
  • prettier-plugin
  • typescript
  • imports
  • organize-imports

Where prettier-remove-unused-only sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 105, #17 (overall #2097)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 8, #18 (overall #158)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-remove-unused-only weekly downloads on npm, last 90 days: 3 weekly downloads as of Oct 17, 2026, 0.0% over 90 days.prettier-remove-unused-onlyWeekly downloads on npm · Last 90 days3downloads / week0.0% over 90 days0510152025Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
prettier-remove-unused-only weekly downloads on npm, last 90 days: 3 weekly downloads as of Oct 17, 2026, 0.0% over 90 days.
PNG SVG

7/30/90-day growth

prettier-remove-unused-only weekly downloads growth on npm: 0.0% over 7 days, -86.4% over 30 days, 0.0% over 90 days.prettier-remove-unused-onlyWeekly downloads growth on npm3downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-19 weekly downloads-86.4%90-day growth+0 weekly downloads0.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-remove-unused-only weekly downloads growth on npm: 0.0% over 7 days, -86.4% over 30 days, 0.0% over 90 days.
PNG SVG

Ranking history

prettier-remove-unused-only npm ranking history: currently #2096 (by weekly downloads).prettier-remove-unused-onlynpm ranking · by weekly downloads · Last 90 days#2096current rank#2094#2095#2096#2097#2098Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-remove-unused-only npm ranking history: currently #2096 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-remove-unused-only
Date (UTC)Weekly downloadsChange vs. previous
30
3+3
00
0-1
10
10
1-2
30
3-1
4-2
6+1
5-2
70
7—

Similar npm Prettier plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-remove-unused-only. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.