Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Work-Fisher/code-claw
/ writeJson
Function
writeJson
scripts/smoke-compatible-shell.mjs:128–133 ·
view source on GitHub ↗
(res, data)
Source
from the content-addressed store, hash-verified
126
}
127
128
function
writeJson(res, data) {
129
res.writeHead(200, {
130
'content-type'
:
'application/json; charset=utf-8'
,
131
})
132
res.end(JSON.stringify(data))
133
}
134
135
async
function
readJson(req) {
136
const
chunks = []
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected