Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ prettyJson
Function
prettyJson
packages/tools/api-diff/src/Json.ts:26–26 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
24
export
const
fingerprint = (value: unknown): string => createHash(
"sha256"
).update(stableJson(value)).digest(
"hex"
)
25
26
export
const
prettyJson = (value: unknown): string => `${JSON.stringify(value, null, 2)}\n`
Callers
1
ApiDiff
Class · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected