esm-dev/esm.sh

Support importing modules from jsr.io

Opened this issue · 1 comments

I realize jsr.io is supposed to be used as package manager on its own, however similar to how esm.sh provides support for npm packages, it would be great to also support jsr packages. Something like this:

For jsr:

import {x} from 'jsr:x@1.1.1'

For npm:

import {y} from 'npm:y@1.1.1'

If no package manage is specified the default is npm so the current behaviour of esm.sh is unchanged.