Skip to content
PluginStats

@laynezh/vite-plugin-lib-assets weekly downloads statistics

By laynezh · npm · Vite plugins

A Vite Plugin extracts resource files referenced in library mode instead of embedded them as base64.

View on npm Fresh · Oct 17, 2026

@laynezh/vite-plugin-lib-assets has 12,792 recorded weekly downloads on npm, a decrease of 55.9% over the past 30 days.

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

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

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

Weekly downloads
12,792
Official API · Oct 17, 2026
7-day growth
-57.0%
-17K weekly downloads
30-day growth
-55.9%
-16.2K weekly downloads
90-day growth
-57.7%
-17.4K weekly downloads
Rank
#850
Among tracked npm listings

About @laynezh/vite-plugin-lib-assets

English | 中文

@laynezh/vite-plugin-lib-assets

A Vite Plugin extracts resource files referenced in library mode instead of embedded them as base64.

Install

Or

Or

Usage

Example: playground/

Hints

• If build.ssr is set to true, you might want to enable build.ssrEmitAssets, so assets are emitted.

Option

include

A valid picomatch pattern, or array of patterns indicate which files need to be handled by the plugin.

• Type: string | RegExp | (string | RegExp)[] • Default: Same as Vite's default value for assetsInclude, you can find the complete list here. • Example:

exclude

Same as include, but it is used to indicate the files that should to be omitted.

• Type: string | RegExp | (string | RegExp)[] • Default: undefined. • Example:

name

Output name of the resource file, its usage aligns with the name option of the file-loader.

• Type: string • Default: '[contenthash].[ext]' • Example: The complete list can be found at loader-utils#interpolatename

limit

Files larger than the limit will be extracted to the output directory, smaller files will remain embedded in the artifact in base64 format.

• Type: number,unit Byte • Default: undefined,any size of resource files will be extracted • Example:

outputPath

Specify the output path where the extracted files will be placed.

• Type: string | ((url: string, resourcePath: string, resourceQuery: string) => string) • Default: Vite's assetsDir configuration. • Example: • string • function

regExp

Specifies a Regular Expression to extract parts of content(capture groups) from the file path and use [N] as placeholders in the name for replacement. Its usage aligns with the regexp option of the file-loader.

• Type: RegExp • Default: undefined • Example:

publicUrl

Access path prefix for built resource files. *Once provided, it will take effect, even while building the cjs and esm formats.*

• Type: string • Default: '' • Example:

Description from the npm listing.

  • vite-plugin
  • vite
  • generate lib assets

Where @laynezh/vite-plugin-lib-assets 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 43, #10 (overall #850)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 8, #1 (overall #141)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

@laynezh/vite-plugin-lib-assets weekly downloads on npm, last 90 days: 12,792 weekly downloads as of Oct 17, 2026, -57.7% over 90 days.@laynezh/vite-plugin-lib-assetsWeekly downloads on npm · Last 90 days12,792downloads / week-57.7% over 90 days010K20K30K40K50KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
@laynezh/vite-plugin-lib-assets weekly downloads on npm, last 90 days: 12,792 weekly downloads as of Oct 17, 2026, -57.7% over 90 days.
PNG SVG

7/30/90-day growth

@laynezh/vite-plugin-lib-assets weekly downloads growth on npm: -57.0% over 7 days, -55.9% over 30 days, -57.7% over 90 days.@laynezh/vite-plugin-lib-assetsWeekly downloads growth on npm12,792downloads / week now7-day growth-16,973 weekly downloads-57.0%30-day growth-16,182 weekly downloads-55.9%90-day growth-17,444 weekly downloads-57.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@laynezh/vite-plugin-lib-assets weekly downloads growth on npm: -57.0% over 7 days, -55.9% over 30 days, -57.7% over 90 days.
PNG SVG

Ranking history

@laynezh/vite-plugin-lib-assets npm ranking history: currently #850 (by weekly downloads).@laynezh/vite-plugin-lib-assetsnpm ranking · by weekly downloads · Last 90 days#850current rank#848#849#850#851#852Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@laynezh/vite-plugin-lib-assets npm ranking history: currently #850 (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 @laynezh/vite-plugin-lib-assets
Date (UTC)Weekly downloadsChange vs. previous
12,792-1.6K
14,391-1.1K
15,536-6.8K
22,376-6K
28,3770
28,377-1.5K
29,853+88
29,765+548
29,217+297
28,920-648
29,568-3.2K
32,756-6.9K
39,639-1.1K
40,742—

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/@laynezh/vite-plugin-lib-assets. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.