MCPcopy
hub / github.com/apify/crawlee / makeCSV

Function makeCSV

test/utils/extract-urls.test.ts:57–58  ·  view source on GitHub ↗
(array: string[], delimiter?: string)

Source from the content-addressed store, hash-verified

55 });
56
57 const makeCSV = (array: string[], delimiter?: string) =>
58 array.map((url) => ['ABC', 233, url, '.'].join(delimiter || ',')).join('\n');
59
60 const makeText = (array: string[]) => {
61 const text = fs.readFileSync(path.join(baseDataPath, 'lipsum.txt'), 'utf8').split('');

Callers 1

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…