This val allows for dependency graph exploration.
Iteratively explores the dependency graph of a val and its children, returning the results.
arguments
string
- the full val url or slug (author/name
) of the valreturns
An object containing:
Map<string, string[]>
- A map of vals (by id) to dependencies (vals or non-val id)Map<string, Module>
- A map of modules (by val or non-val id) to module information. Module object contains:string
- the slug of the module, how it should be displayed visuallystring
- the id of the module, corresponding to how it's displayed in the code, normally as a url.string
- the website link for the module, a normally a link to either valtown or npm.string|null
- the category of the module, such as "valtown", "esm.sh", or "npm". Those without a predefined category are in null.Migrated from folder: dependencyGraph/getDependencyGraph