deno_graph
deno_graph copied to clipboard
Modules returned by `createGraph` are missing the `local` property
Modules returned by createGraph seem to have an undefined local property. Is there a reason it is on the type def if it's known to be unimplemented?
/** The string path to where the local version of the content is located. For
* non `file:` URLs, this is the location of the cached content, otherwise it
* is the absolute path to the local file. */
local?: string;
As mentioned in the README there is currently no JavaScript APIs that allow you to read the cache info to populate the information, but it isn't unimplemented in deno_graph. If you were to supply the API as part of the configuration options, the information returned would be part of the graph.