Skip to content
PluginStats

vite-imagetools weekly downloads statistics

By JonasKruckenberg · npm · Vite plugins

Load and transform images using a toolbox of import directives!

View on npm Fresh · Oct 17, 2026

vite-imagetools has 164,089 recorded weekly downloads on npm, a decrease of 38.2% over the past 30 days.

It ranks #390 of 2,255 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -51.5%.

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

Weekly downloads
164,089
Official API · Oct 17, 2026
7-day growth
-53.0%
-185K weekly downloads
30-day growth
-38.2%
-101.4K weekly downloads
90-day growth
-51.5%
-174K weekly downloads
Rank
#390
Among tracked npm listings

About vite-imagetools

vite-imagetools

A toolbox of import directives for Vite that can transform your image at compile-time. All of the image transformations are powered by sharp.

Features

• 🚀 Output modern formats • 🖼 Resize Images • 🔗 Easy Srcset generation • ⚡️ Fast in development mode • 🔒 Remove Image Metadata • 🧩 Extensible

Read the docs to learn more!

Table of Contents

• Install • Usage • Options • Contributing • License

Install

Usage

You can also import a directory of images using Vite's import.meta.glob with its query option.

Options

defaultDirectives

• Optional defaultDirectives: URLSearchParams | (url: URL) => URLSearchParams

This option allows you to specify directives that should be applied _by default_ to every image. You can also provide a function, in which case the function gets passed the asset ID and should return an object of directives. This can be used to define all sorts of shorthands or presets.

example

exclude

• exclude: string | RegExp | (string | RegExp)[]

What paths to exclude when processing images. This defaults to the public dir to mirror Vite's behavior.

default 'public\/**\/*'

include

• include: string | RegExp | (string | RegExp)[]

Which paths to include when processing images.

default /^[^?]+\.(heif|avif|jpeg|jpg|png|tiff|webp|gif)(\?.*)?$/

removeMetadata

• removeMetadata: boolean

Wether to remove potentially private metadata from the image, such as exif tags etc.

default true

extendOutputFormats

▸ Optional extendOutputFormats(builtins): Record

You can use this option to extend the builtin list of output formats. This list will be merged with the builtin output formats before determining the format to use.

default []

Parameters

| Name | Type |

| builtins | Record |

Returns

Record

extendTransforms

▸ Optional extendTransforms(builtins): TransformFactory\>[]

You can use this option to extend the builtin list of import transforms. This list will be merged with the builtin transforms before applying them to the input image.

default []

Parameters

| Name | Type |

| builtins | TransformFactory\>[] |

Returns

TransformFactory\>[]

resolveConfigs

• Optional resolveConfigs: (entries: [string, string[]][], outputFormats: Record) => Record[]

Type declaration

▸ (entries, outputFormats): Record[]

This function builds up all possible combinations the given entries can be combined an returns it as an array of objects that can be given to a the transforms.

Parameters

| Name | Type | Description |

| entries | [string, string[]][] | The url parameter entries | | outputFormats | Record | - |

Returns

Record[]

An array of directive options

Contributing

Feel free to dive in! Open an issue or submit PRs! All information to get you started hacking on imagetools is in CONTRIBUTING.md!

License

MIT © Jonas Kruckenberg.

Description from the npm listing.

  • resize-images
  • responsive-images
  • vite
  • image
  • vite-plugin

Where vite-imagetools 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 20, #10 (overall #390)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 3, #8 (overall #48)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-imagetools weekly downloads on npm, last 90 days: 164,089 weekly downloads as of Oct 17, 2026, -51.5% over 90 days.vite-imagetoolsWeekly downloads on npm · Last 90 days164,089downloads / week-51.5% over 90 days150K200K250K300K350K400KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
vite-imagetools weekly downloads on npm, last 90 days: 164,089 weekly downloads as of Oct 17, 2026, -51.5% over 90 days.
PNG SVG

7/30/90-day growth

vite-imagetools weekly downloads growth on npm: -53.0% over 7 days, -38.2% over 30 days, -51.5% over 90 days.vite-imagetoolsWeekly downloads growth on npm164,089downloads / week now7-day growth-184,968 weekly downloads-53.0%30-day growth-101,421 weekly downloads-38.2%90-day growth-174,013 weekly downloads-51.5%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-imagetools weekly downloads growth on npm: -53.0% over 7 days, -38.2% over 30 days, -51.5% over 90 days.
PNG SVG

Ranking history

vite-imagetools npm ranking history: currently #390 (by weekly downloads).vite-imagetoolsnpm ranking · by weekly downloads · Last 90 days#390current rank#388#389#390#391#392Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
vite-imagetools npm ranking history: currently #390 (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 vite-imagetools
Date (UTC)Weekly downloadsChange vs. previous
164,089-36.1K
200,211-11.4K
211,595-78.7K
290,274-63.6K
353,9180
353,918+262
353,656+4.6K
349,057-5.3K
354,398+8.7K
345,653+13.5K
332,138+3.2K
328,978-70.6K
399,563+41
399,522—

Similar npm Vite 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/vite-imagetools. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.