MCPcopy
hub / github.com/claude-code-best/claude-code / ndjsonSafeStringify

Function ndjsonSafeStringify

src/cli/ndjsonSafeStringify.ts:30–32  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

28 * JSON and parses to the same value.
29 */
30export function ndjsonSafeStringify(value: unknown): string {
31 return escapeJsLineTerminators(jsonStringify(value))
32}

Callers 2

writeMethod · 0.90
writeMethod · 0.90

Calls 2

escapeJsLineTerminatorsFunction · 0.85
jsonStringifyFunction · 0.85

Tested by

no test coverage detected