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

pipe stdout to a json streaming parser #3

Open
kapouer opened this issue Jan 29, 2016 · 1 comment
Open

pipe stdout to a json streaming parser #3

kapouer opened this issue Jan 29, 2016 · 1 comment

Comments

@kapouer
Copy link

kapouer commented Jan 29, 2016

This will remove a huge block of code from your module...
That one seems fairly recent:
https://github.com/fent/node-jstream

@crussell42
Copy link
Owner

Right, thanks. I considered a similar solution early on but
decided that I could not count on commands going to exiftool sequentially.
Additional calls could be made in closure statements etc.
This was the easiest solution at the time. Could be reworked to use a
streaming
protocol but again you have the headache of sequencing the calls and
associated output.
So when you call sendCommands it returns a reference to the promise
created for the results of that particular command.

On Fri, Jan 29, 2016 at 4:28 PM, Jérémy Lal [email protected]
wrote:

This will remove a huge block of code from your module...
That one seems fairly recent:
https://github.com/fent/node-jstream


Reply to this email directly or view it on GitHub
#3.

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

2 participants