Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ json
Function
json
packages/computer/src/artifacts/cli.ts:706–708 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
704
}
705
706
function
json(value: unknown): string {
707
return
`${JSON.stringify(value, null, 2)}\n`;
708
}
709
710
/**
711
* Map a thrown error to the standard `artifacts <subcommand>:
Callers
8
runCreate
Function · 0.85
runRepoCreate
Function · 0.85
runRepoGet
Function · 0.85
runRepoList
Function · 0.85
runRepoImport
Function · 0.85
runTokenCreate
Function · 0.85
runTokenList
Function · 0.85
runTokenGet
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected