@netlify/vite-plugin weekly downloads statistics
By netlify (6 listings) · npm · Vite plugins
Vite plugin with a local emulation of the Netlify environment
@netlify/vite-plugin has 125,565 recorded weekly downloads on npm, a decrease of 15.7% over the past 30 days, ranking #604 of 3,247 tracked listings.
About @netlify/vite-plugin
@netlify/vite-plugin
Vite plugin that emulates Netlify's platform features within your Vite dev server.
Feature Support
| Feature | Supported |
|---|---|
| Functions | ✅ Yes |
| Edge Functions | ✅ Yes |
| Blobs | ✅ Yes |
| Cache API | ✅ Yes |
| AI Gateway | ✅ Yes |
| Database | ✅ Yes |
| Redirects and Rewrites | ✅ Yes |
| Headers | ✅ Yes |
| Environment Variables | ✅ Yes |
| Image CDN | ✅ Yes |
This module is not intended to be a full replacement for the Netlify CLI.
Installation
npm install -D @netlify/vite-plugin
Usage
Add the plugin to your vite.config.js or vite.config.ts:
import { defineConfig } from 'vite'
import netlify from '@netlify/vite-plugin'
export default defineConfig({
plugins: [netlify()],
})
When building on Netlify, the plugin also enables skew protection for frameworks that support it.
Configuration options
The plugin accepts the following options:
middleware(boolean, default:true): Attach a Vite middleware that intercepts requests and handles them in the same way as the Netlify production environmentblobs: Configure blob storage functionalityedgeFunctions: Configure edge functionsfunctions: Configure serverless functionsheaders: Configure response headersimages: Configure Image CDN functionalityredirects: Configure URL redirectsstaticFiles: Configure static file serving
EXPERIMENTAL: Building your app for deployment
The build options prepare your app's server build for deployment to Netlify, so you don't need a framework-specific
adapter or plugin. They're currently supported for TanStack Start and SolidStart 2 projects.
build.enabled(boolean, default:false): Prepare the server build for deployment to Netlifybuild.displayName(string, default:@netlify/vite-plugin server handler): A display name for the serverless function or edge function deployed to Netlify
import { defineConfig } from 'vite'
import netlify from '@netlify/vite-plugin'
export default defineConfig({
plugins: [netlify({ build: { enabled: true } })],
})
Description from the npm listing.
- netlify
- vite-plugin
- dev
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (170)Similar npm Vite plugins plugins
All 20 @netlify/vite-plugin alternativesData 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/@netlify/vite-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.