MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / decodeHashFragment

Function decodeHashFragment

server/utils/readme.ts:285–291  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

283}
284
285function decodeHashFragment(value: string): string {
286 try {
287 return decodeURIComponent(value)
288 } catch {
289 return value
290 }
291}
292
293function normalizePreservedAnchorAttrs(attrs: string): string {
294 const cleanedAttrs = attrs

Callers 1

resolveUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected