MCPcopy
hub / github.com/simstudioai/sim / csvWithRows

Function csvWithRows

apps/sim/app/api/table/import-csv/route.test.ts:95–99  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

93}
94
95function csvWithRows(count: number): string {
96 const lines = ['name,age']
97 for (let i = 0; i < count; i++) lines.push(`Person${i},${20 + (i % 50)}`)
98 return `${lines.join('\n')}\n`
99}
100
101function uploadParts(csv: string): Part[] {
102 return [

Callers 1

route.test.tsFile · 0.70

Calls 2

joinMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected