Multer storage engine for Google Cloud Storage. v4.1.0 is current stable release. This package is a fork of multer-google-storage that uses the latest Google Cloud API, supports additional configuration (destination, contentType), and reduces module footprint. It ships TypeScript types and is intended for use with Express and Multer. The package has a moderate release cadence with occasional updates.
npm install multer-cloud-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an Express server with Multer and multer-cloud-storage to handle single file uploads to GCS.
Pass a configuration object with bucket, projectId, etc. or set environment variables.
Use new MulterGoogleCloudStorage(options) directly.
Use import MulterGoogleCloudStorage from 'multer-cloud-storage' (default import).
Change to import MulterGoogleCloudStorage from 'multer-cloud-storage'.
Set GCS_BUCKET env variable or pass bucket in options object.
Run npm install multer-cloud-storage.