MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / ndjsonSafeStringify

Function ndjsonSafeStringify

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

Source from the content-addressed store, hash-verified

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

Callers 2

writeMethod · 0.90
writeMethod · 0.90

Calls 2

escapeJsLineTerminatorsFunction · 0.85
jsonStringifyFunction · 0.85

Tested by

no test coverage detected