An ES5/6 & TypeScript-friendly Multer storage engine for Azure Blob Storage, currently at version 1.2.0. It allows direct upload of files from Express applications to Azure Blob Storage containers. Released with moderate cadence, key differentiators include strong TypeScript typings, support for custom blob name resolution via promises, and options for metadata and content settings. It integrates seamlessly with Multer and provides both CommonJS and ESM imports.
npm install multer-azure-blob-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an Express endpoint that accepts a single file upload and stores it in Azure Blob Storage using MulterAzureStorage.
Update to provide accessKey and accountName or a connection string.
Use containerAccessType: 'blob' instead of containerAccessLevel: 'blob'.
Ensure blobName function returns a Promise<string>.
Always set urlExpirationTime to a reasonable value (e.g., 60 minutes).
Upgrade Node.js to version 12 or higher.
Run 'npm install multer-azure-blob-storage' and ensure import path is correct.
Use 'import { MulterAzureStorage } from 'multer-azure-blob-storage'' or 'const { MulterAzureStorage } = require('multer-azure-blob-storage')'Create the container in Azure Portal or use the SDK to create it before upload.
Verify your connection string or provide accessKey and accountName.