* Returns a stream transform that calls JSON.stringify * on objects passing through * @return {stream.Transform} the stream transform
()
| 20 | * @return {stream.Transform} the stream transform |
| 21 | */ |
| 22 | function jsonStringifyStream() { |
| 23 | return Through.obj(function (obj, _, cb) { |
| 24 | this.push(JSON.stringify(obj)); |
| 25 | cb(); |
| 26 | }); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Sets up stream multiplexing for the given stream |
nothing calls this directly
no outgoing calls
no test coverage detected