MCPcopy Create free account
hub / github.com/Inist-CNRS/node-csv-string / fetch

Function fetch

src/CSV.ts:298–305  ·  view source on GitHub ↗
(input: string, sep?: Comma, quo?: Quote)

Source from the content-addressed store, hash-verified

296}
297
298const fetch = (input: string, sep?: Comma, quo?: Quote): Value[] => {
299 // TODO
300 let output: Value[] | undefined;
301 read(input, sep as Comma, quo as Quote, (fields) => {
302 output = fields;
303 });
304 return output as Value[];
305};
306
307const createStream = (options?: {
308 separator?: Comma;

Callers

nothing calls this directly

Calls 1

readFunction · 0.85

Tested by

no test coverage detected