multer-wasb-storage v0.0.2
multer-wasb-storage
Azure Blobs storage engine for multer
This module is a custom storage for multer that makes it possible to store parsed files into Azure Blob Store
Motivation
Usage
Install via npm.
npm install nodemailer-sendgridv3-transport
File properties
File objects will expose the following properties:
Key | Description |
---|---|
uri | A secure URL for fetching the file |
service | Name of the Azure Storage account where file will be saved |
container | Name of the container to host the file |
key | Name of the file within the container |
size | The size of the file |
checksum | Checksum of the file |
digestAlgorithm | Algorithm used for computing the checksum of the file |
Deploying
- Confirm tests pass
- Bump the version in
README.md
,package.json
,test/main.js
- Update
CHANGELOG.md
- Confirm tests pass
- Commit
Version bump vX.X.X
npm publish
- Push changes to GitHub
- Release tag on GitHub
vX.X.X
Complementary information
@vid https://nodejs.org/api/stream.html
@vid https://nodejs.org/api/stream.html#stream_class_stream_writable
@vid https://nodejs.org/api/stream.html#stream_implementing_a_writable_stream
@vid https://nodejs.org/api/stream.html#stream_readable_streams
@vid https://nodejs.org/api/stream.html#stream_two_modes
@vid https://nodejs.org/api/stream.html#stream_class_stream_readable
@vid https://nodejs.org/api/stream.html#stream_implementing_a_readable_stream
@vid https://www.codeschool.com/blog/2014/07/22/nodejs-streams2-api/
@vid https://www.sandersdenardi.com/readable-writable-transform-streams-node/
ToDo
- protegerse contra desbordamiento de memoria, ataques... Ver README del package
Credits
Alternatives
License
Licensed under the MIT License.