@froxz/vite-plugin-s3 weekly downloads statistics
By froxz · npm · Vite plugins
Allows you to upload files to AWS S3 or any other S3 compatible provider
@froxz/vite-plugin-s3 has 6,731 recorded weekly downloads on npm, a decrease of 55.8% over the past 30 days, ranking #1064 of 2,322 tracked listings.
About @froxz/vite-plugin-s3
vite-plugin-s3
S3 compatible file uploader Plugin for Vite
🚀 Features
- 🦾 Type Strong: written in TypeScript
- ⚡ S3 Compatible: Support any S3 compatible provider (AWS, DO Spaces...)
- ✨ Uploads any files: can upload any files or directory not just build folder
📦 Install
$ npm i @froxz/vite-plugin-s3
🦄 Usage
uploadOptionsdefault toACL: 'public-read'so you may need to override if you have other needs.
Add vite-plugin-s3 plugin to vite.config.js / vite.config.ts and configure it:
import { defineConfig } from 'vite'
import { ViteS3 } from '@froxz/vite-plugin-s3'
export default defineConfig({
plugins: [
ViteS3(!!process.env.UPLOAD_ENABLED, {
basePath: '/build',
clientConfig: {
credentials: {
accessKeyId: '',
secretAccessKey: '',
},
region: 'eu-west-2'
},
uploadOptions: {
Bucket: 'my-bucket'
}
})
]
})
👀 Options
enabled/disable: This setting can be used to disable or enable the uploading of assets (In addition Plugin is disabled in SSR and non build run)
| Option | Description | Type | Default |
|---|---|---|---|
exclude | A Pattern to match for excluded content | string,RegExp,Function,Array | null |
include | A Pattern to match for included content | string,RegExp,Function,Array | null |
clientConfig | The configuration interface of S3Client class constructor | S3ClientConfig | required |
uploadOptions | PutObjectRequest options except Body and Key | PutObjectRequest | required |
basePath | Namespace of uploaded files on S3 | string | null |
directory | Directory to upload | string | build.outDir |
sequentialUploads | If true, files will be uploaded sequentially. | boolean | false |
Advanced include and exclude rules
include and exclude in addition to a RegExp you can pass a function which will be called with the path as its first argument. Returning a truthy value will match the rule. You can also pass an Array of rules, all of which must pass for the file to be included or excluded.…
Description from the npm listing.
- vite
- s3
- vite-plugin
- do-spaces
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 (543)Similar npm Vite plugins plugins
All 20 @froxz/vite-plugin-s3 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/@froxz/vite-plugin-s3. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.