dman-osD
Denoβ€’2y agoβ€’
1 reply
dman-os

How to import `deno.json`/`jsr` based module directly from github?

I have a fork of a project that uses
deno.json
/jsr scheme at https://github.com/Yohe-Am/dax/.

And I want to import and use my fork as...

export * as dax from "https://raw.githubusercontent.com/Yohe-Am/dax/feat/63/cmds-clear-env/mod.ts";


But this ends up breaking due to the
deno.json
backed imports the code uses (see attached image).

I don't want to have to publish my fork on JSR to be able to use it. Is this a bug? Am I missing something?
image.png
image.png
GitHub
Cross platform shell tools for Deno inspired by zx. - Yohe-Am/dax
GitHub - Yohe-Am/dax: Cross platform shell tools for Deno inspired ...
Was this page helpful?