Skip to content

exiotech/MulterSharpGridfsStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multer-sharp-gridfs-storage

BROKEN - DO NOT USE THIS PACKAGE 💀

This Packge is currently broken due to some issues releated to owner's code, and mainly due to bugs related to external packages:

Do not use this package!!!

Description

This package is writen to buypass buffering of the images in memory or on disk in the roadmap - client->sharp->gridfs.

Usage

To initialize a storage, the only required argument is GridFsBucket instance in constructor options:

    const { MulterSharpGridFS } = require('multer-sharp-gridfs-storage')
    const storage = new MulterSharpGridFS({
        gridFSBucket
    })

When useing this storage, every uploaded image will be passed through sharp() instance and from there to GridFs with a single stream of data, without buffering or storing in the middle.

For options details see TSDocs.

About

Stream images without buffering in the middle - client->sharp->gridfs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors