Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Super minimal streams2 implementation of a json -> stringified transform stream.
var Transform = require('stream').Transform;
var JSONStringify = new Transform({objectMode: true});
JSONStringify._transform = function (chunk, encoding, done) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.