MCPcopy Index your code
hub / github.com/simstudioai/sim / createCsvParser

Function createCsvParser

apps/sim/lib/table/import.ts:43–45  ·  view source on GitHub ↗
(delimiter = ',')

Source from the content-addressed store, hash-verified

41 * so the file is never fully buffered in memory.
42 */
43export function createCsvParser(delimiter = ','): Parser {
44 return parseCsvStream(csvParseOptions(delimiter))
45}
46
47/** Narrower type than `COLUMN_TYPES` used internally for coercion. */
48export type CsvColumnType = 'string' | 'number' | 'boolean' | 'date' | 'json'

Callers 4

runTableImportFunction · 0.90
parseViaStreamFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls 1

csvParseOptionsFunction · 0.85

Tested by 1

parseViaStreamFunction · 0.72