MCPcopy
hub / github.com/CapSoftware/Cap / toNdjson

Function toNdjson

scripts/analytics/populate-test-data.js:88–90  ·  view source on GitHub ↗
(rows)

Source from the content-addressed store, hash-verified

86}
87
88function toNdjson(rows) {
89 return rows.map((r) => JSON.stringify(r)).join("\n");
90}
91
92async function tinybirdIngest({ host, token, datasource, ndjson }) {
93 const search = new URLSearchParams({ name: datasource, format: "ndjson" });

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected