Skip to content

Conversation

@garbidge
Copy link
Contributor

Feel free to close this if the change is unwanted, I thought it could be useful though.

Currently when sending a file, a filePath is required so there has to be a saved file to read from. I believe it would also be useful to be able to provide a Stream, for example in use cases such as:

  • Creating the CSV file in memory without having it saved to disk.
  • Accepting an uploaded file on a server and passing the stream in directly without first saving it to disk.

I've added an overload for the existing methods that takes a Stream and file name

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

Successfully merging this pull request may close these issues.

1 participant