DenoDDeno
Powered by
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
deno.json
/
jsr
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";
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
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
GitHub - Yohe-Am/dax: Cross platform shell tools for Deno inspired ...
Cross platform shell tools for Deno inspired by zx. - Yohe-Am/dax
GitHub - Yohe-Am/dax: Cross platform shell tools for Deno inspired ...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to import relative JSR module from import map
cdaringeCcdaringe / help
16mo ago
`deno vendor`: help with import_map.json changes from deno.land to jsr?
Carlos ScheideggerCCarlos Scheidegger / help
2y ago
How to import npm module from github?
Nanashi.NNanashi. / help
3y ago
Import built-in Node module from deno.json imports
BhauminBBhaumin / help
2y ago