Closed dharmax closed 5 years ago
Node.js streams work either on strings/buffers mode or in object mode.
Have you read about object mode
in the documentation?
I think that that's what you want.
If you want something else. Can you elaborate a bit? And possibly provide a code sample showing what you would like?
Closing since I think that this is resolved. Feel free to re-open if you feel that something is still missing.
A Little Feature request
i expected it to work out of the box, but apparently i had to stringify my JSON objects, because otherwise Transform threw an exception stating it accepts either strings or buffers. This feature is useful when streaming from database queries (in my case, it was using the streaming capabilities of the mongodb driver), etc.