MCPcopy
hub / github.com/adaltas/node-csv / transform

Function transform

packages/csv-parse/lib/stream.js:19–24  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

17 controller = ctr;
18 },
19 transform(chunk) {
20 const error = api.parse(chunk, false, enqueue, terminate);
21 if (error) {
22 controller.error(error);
23 }
24 },
25 flush() {
26 const error = api.parse(undefined, true, enqueue, terminate);
27 if (error) {

Callers 12

constructorMethod · 0.90
parseFunction · 0.90
parseFunction · 0.90
example.fs.jsFile · 0.90
callback.jsFile · 0.90
stream.jsFile · 0.90
sync.jsFile · 0.90
api.jsFile · 0.90
api.types.tsFile · 0.90
api.types.sync.tsFile · 0.90
transform.tsFile · 0.50
transform.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected