Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/observablehq/framework
/ resolve
Function
resolve
test/javascript/annotate.ts:59–61 ·
view source on GitHub ↗
(path: string, specifier: string)
Source
from the content-addressed store, hash-verified
57
});
58
59
function
resolve(path: string, specifier: string): string {
60
return
specifier.startsWith(
"/npm/"
) ? relativePath(path, fromJsDelivrPath(specifier)) : specifier;
61
}
Callers
3
runTests
Function · 0.70
runTests
Function · 0.70
annotate.ts
File · 0.70
Calls
2
relativePath
Function · 0.85
fromJsDelivrPath
Function · 0.85
Tested by
no test coverage detected