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

Return a stream #15

Open
pedromsilvapt opened this issue Apr 9, 2016 · 5 comments
Open

Return a stream #15

pedromsilvapt opened this issue Apr 9, 2016 · 5 comments

Comments

@pedromsilvapt
Copy link

Is it possible for the module to return a stream, in addition to a promise?

@pedrosanta
Copy link
Collaborator

Hi @scorchpt! I think it's doable, yes. Out of curiosity, which scenario would that be helpful? 😀

Cheers!

@pedromsilvapt
Copy link
Author

Hi. I was wanting to create a gulp plugin to automate compiling epubs from markdown, and it would make the code so much cleaner if there was no need for temporary files and callbacks/promises. :)

@pedrosanta
Copy link
Collaborator

I see, interesting. I don't know if we can get rid of all the temp files that easily, but it's a matter of looking at it. 😏

@pedromsilvapt
Copy link
Author

I'm not very familiar with the code, so I don't know what kind of dependencies you have. But, if at least the external API could expose a way to read the stream of the temporary file instead of having to provide a temp file path, would be cool.

@mwoz123
Copy link

mwoz123 commented Sep 23, 2018

+1 for stream result. Any chances to be implemented?

zbrongyaozb pushed a commit to zbrongyaozb/epub-gen that referenced this issue Aug 2, 2022
Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.30.0...v7.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

3 participants