Skip to content

An easier way to use code from GitHub in your Deno project.

Notifications You must be signed in to change notification settings

TooTallNate/denopkg.com

 
 

Repository files navigation

denopkg

You wanna use a third-party library which is stored on GitHub in Deno?

Instead of writing:

import { opn } from 'https://raw.githubusercontent.com/hashrock/deno-opn/master/opn.ts'

opn('https://example.com')

You can write:

import { opn } from 'https://denopkg.com/hashrock/deno-opn/opn.ts'

opn('https://example.com')

Much shorter right? LOL.

Branches and tags are supported, just add @{BRANCH_OR_TAG} to the end of repository name, like this:

import { opn } from 'https://denopkg.com/hashrock/deno-opn@master/opn.ts'

opn('https://example.com')

Entry file

URLs omitting file path like https://denopkg.com/hashrock/deno-opn will be redirected to mod.ts on master branch.

About

An easier way to use code from GitHub in your Deno project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.6%
  • JavaScript 5.0%
  • CSS 1.4%