blob-storage-middleware
v0.0.2
Published
Middleware for uploading files to various storage media
Downloads
6
Readme
blob-storage-middleware
This package contains express middleware for easily uploading files to Azure blob storage.
Installation
npm i blob-storage-middleware --save
Usage
Server
const app = require('express')()
const middleware = require('blob-storage-middleware')({
connectionString: "<your_storage_account_connection_string",
containerName: "<name_of_blob_container>"
})
app.post('/upload', middleware)
app.listen(3000)