Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Implement gridfs transform stream #127

Open

Description

@nateevans

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions