Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/npmx-dev/npmx.dev
/ toUserContentHash
Function
toUserContentHash
server/utils/readme.ts:281–283 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
279
}
280
281
function
toUserContentHash(value: string): string {
282
return
`#${withUserContentPrefix(value)}`
283
}
284
285
function
decodeHashFragment(value: string): string {
286
try {
Callers
1
resolveUrl
Function · 0.85
Calls
1
withUserContentPrefix
Function · 0.85
Tested by
no test coverage detected