0.0.2 • Published 7 years ago

multer-wasb-storage v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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:

KeyDescription
uriA secure URL for fetching the file
serviceName of the Azure Storage account where file will be saved
containerName of the container to host the file
keyName of the file within the container
sizeThe size of the file
checksumChecksum of the file
digestAlgorithmAlgorithm 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.