Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ findUrls
Function
findUrls
packages/ast/find/index.js:31–33 ·
view source on GitHub ↗
(tree)
Source
from the content-addressed store, hash-verified
29
}
30
31
function
findUrls(tree) {
32
return
unique(findByType(tree,
'url'
).map((node) => node.value));
33
}
34
35
module.exports = {
36
urls: findUrls,
Callers
nothing calls this directly
Calls
2
findByType
Function · 0.85
map
Method · 0.80
Tested by
no test coverage detected