Skip to content
PluginStats

@mattinton/prettier-plugin-tidy-imports weekly downloads statistics

By mattinton · npm · Prettier plugins

A prettier plugin to tidy your imports

View on npm Stale · Oct 18, 2026

@mattinton/prettier-plugin-tidy-imports has 64 recorded weekly downloads on npm, an increase of 14.3% over the past 30 days.

Weekly downloads
64
Official API · Oct 18, 2026
7-day growth
-53.3%
-73 weekly downloads
30-day growth
+14.3%
+8 weekly downloads
90-day growth
+56.1%
+23 weekly downloads
Rank
—
Among tracked npm listings

About @mattinton/prettier-plugin-tidy-imports

Prettier Plugin Tidy Imports

A prettier plugin that, sorts, combines, and removes unsused imports from your Javascript/Typescript project.

Example

Before

input

After

output

Sorting

Imports are sorted into 4 distinct groups Side Efffect, Namespace, Third Party, and Relative. Every group is then sorted alphabetically except side effect imports as their order matters. Inside third party and relative groups, default imports are placed at the top, and named imports (imports inside {}) are also ordered.

Definitions
  • Side Effect - tailwindcss/tailwind.css
  • Namespace - import * as yup from "yup"
  • Third Party - import { merge } from "lodash"
  • Relative - import Utils, { map, filter } from './utils
Typescript Path Aliases

This package doesn't know the difference between third party imports, and aliases defined in your tsconfig.json paths config. If you want to make sure these are grouped separately, you should prefix your aliases with a symbol not used in third party modules such as the tilde (~).

Installation

npm install --save-dev @mattinton/prettier-plugin-tidy-imports
yarn add -D @mattinton/prettier-plugin-tidy-imports

NOTE: This package requires prettier and typescript to be installed as peer dependencies.

Usage Warning

This plugin breaks Prettier's rule of only printing code as this plugin transforms your code by removing/sorting imports. If this concerns you please don't use this package.

Description from the npm listing.

  • prettier
  • typescript
  • imports
  • plugin
  • sort
  • unused
  • prettier-plugin
  • tidy-imports

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

@mattinton/prettier-plugin-tidy-imports weekly downloads on npm, last 90 days: 64 weekly downloads as of Oct 18, 2026, +56.1% over 90 days.@mattinton/prettier-plugin-tidy-importsWeekly downloads on npm · Last 90 days64downloads / week+56.1% over 90 days050100150200Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 24, 2026 – Oct 18, 2026 · 87 observations · Updated Oc…pluginstats.com
@mattinton/prettier-plugin-tidy-imports weekly downloads on npm, last 90 days: 64 weekly downloads as of Oct 18, 2026, +56.1% over 90 days.

7/30/90-day growth

@mattinton/prettier-plugin-tidy-imports weekly downloads growth on npm: -53.3% over 7 days, +14.3% over 30 days, +56.1% over 90 days.@mattinton/prettier-plugin-tidy-importsWeekly downloads growth on npm64downloads / week now7-day growth-73 weekly downloads-53.3%30-day growth+8 weekly downloads+14.3%90-day growth+23 weekly downloads+56.1%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@mattinton/prettier-plugin-tidy-imports weekly downloads growth on npm: -53.3% over 7 days, +14.3% over 30 days, +56.1% over 90 days.

Ranking history

@mattinton/prettier-plugin-tidy-imports npm ranking history: currently #1821 (by weekly downloads).@mattinton/prettier-plugin-tidy-importsnpm ranking · by weekly downloads · Last 90 days#1821current rank#600#800#1000#1200#1400#1600#1800#2000Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
@mattinton/prettier-plugin-tidy-imports npm ranking history: currently #1821 (by weekly downloads).

Listing placement

All npm2,422 listings · 122 pages · 1,212 shown · page 95, #1 (overall #1,881)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins245 listings · 13 pages · page 4, #13 (overall #73)
Prettier plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (544)
Recent weekly downloads observations for @mattinton/prettier-plugin-tidy-imports
Date (UTC)Weekly downloadsChange vs. previous
64-19
83-46
129-35
164-3
1670
1670
167+30
137+26
111+46
65+40
25+1
24-168
192-2
194—

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/@mattinton/prettier-plugin-tidy-imports. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.