DenoPKG

To use GitHub as a package registry for Deno, you only need to replace github.com with denopkg.com like this:
https://denopkg.com/user/repo or repo@tag/path/to/file
Example:

  import { opn } from 'https://denopkg.com/hashrock/deno-opn/opn.ts'
  opn('https://denopkg.com')
  
When a git tag is not specified, it will use the master branch, to use the latest release of your repo, try @latest intead. However, it's always better to specify a git tag explicitly.

Importing JavaScript

If you're importing mod.js and you want to use mod.d.ts as the types, you can use the ?dts parameter to set the x-typescript-types header.

Sponsor this project on GitHub.