MCPcopy Create free account
hub / github.com/tinyplex/tinybase / getDependencyName

Function getDependencyName

site/ui/ExecutableProject.tsx:53–56  ·  view source on GitHub ↗
(specifier: string)

Source from the content-addressed store, hash-verified

51};
52
53const getDependencyName = (specifier: string): string =>
54 specifier.startsWith('@')
55 ? specifier.split('/').slice(0, 2).join('/')
56 : specifier.split('/')[0];
57
58const getDependencies = (
59 imports: {[specifier: string]: string},

Callers 1

getDependenciesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…