MCPcopy Create free account
hub / github.com/Keyang/node-csvtojson / processRecursive

Function processRecursive

v2/Result.js:146–151  ·  view source on GitHub ↗
(lines, hook, conv, offset, needPushDownstream, cb, res)

Source from the content-addressed store, hash-verified

144 }
145}
146function processRecursive(lines, hook, conv, offset, needPushDownstream, cb, res) {
147 if (needPushDownstream) {
148 pushDownstream(conv, res);
149 }
150 processLineByLine(lines, conv, offset, needPushDownstream, cb);
151}
152function pushDownstream(conv, res) {
153 if (typeof res === "object" && !conv.options.objectMode) {
154 var data = JSON.stringify(res);

Callers 1

processLineByLineFunction · 0.70

Calls 2

pushDownstreamFunction · 0.70
processLineByLineFunction · 0.70

Tested by

no test coverage detected