MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / json

Function json

apps/local/src/db/v1-v2-migration.test.ts:206–209  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

204
205 const now = Date.now();
206 const json = (value: unknown): string | Buffer => {
207 const text = JSON.stringify(value);
208 return options.jsonBlobs ? Buffer.from(text) : text;
209 };
210
211 await executeSql(
212 client,

Callers 1

seedV1DbFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected