Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement gridfs transform stream #127

Open
nateevans opened this issue Feb 1, 2018 · 0 comments
Open

Implement gridfs transform stream #127

nateevans opened this issue Feb 1, 2018 · 0 comments

Comments

@nateevans
Copy link

nateevans commented Feb 1, 2018

It would be useful if this library had a transform stream available, for the following sort of use case:

file.pipe(gfs.createTransformStream(...)) # to write full size image to gridFs
  .pipe(resizeMyImage())
  .pipe(gfs.createTransformStream(...)) # to write thumb image to gridFs

I don't have a good enough understanding of streams yet, otherwise I would take a crack at a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant