Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
32
export
function
ndjsonSafeStringify(value: unknown): string {
33
return
escapeJsLineTerminators(jsonStringify(value))
34
}
Callers
2
write
Method · 0.90
write
Method · 0.90
Calls
2
escapeJsLineTerminators
Function · 0.85
jsonStringify
Function · 0.85
Tested by
no test coverage detected