Created
May 6, 2024 12:15
-
-
Save mizchi/c491e94d9a6a120257ccb3af726fa08b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createGraph } from "jsr:@deno/graph@0.74.4"; | |
const g1 = await createGraph("jsr:@mizchi/tpl@0.0.3"); | |
console.log("g1", g1); | |
const g2 = await createGraph("npm:zod@3.23.6"); | |
console.log("g2", g2); | |
/** | |
g1 { | |
roots: [ "jsr:@mizchi/tpl@0.0.3" ], | |
modules: [ | |
{ | |
kind: "esm", | |
size: 5498, | |
mediaType: "TypeScript", | |
specifier: "https://jsr.io/@mizchi/tpl/0.0.3/mod.ts" | |
} | |
], | |
redirects: { | |
"jsr:@mizchi/tpl@0.0.3": "https://jsr.io/@mizchi/tpl/0.0.3/mod.ts" | |
}, | |
packages: { "@mizchi/tpl@0.0.3": "@mizchi/tpl@0.0.3" } | |
} | |
g2 { | |
roots: [ "npm:zod@3.23.6" ], | |
modules: [ | |
{ | |
specifier: "npm:zod@3.23.6", | |
error: 'Module not found "npm:zod@3.23.6".' | |
} | |
], | |
redirects: {} | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment