Install package provided from URL as `.tar.gz`

Some sites like https://github.com/stackblitz-labs/pkg.pr.new provide packages as tarballs. How can these be installed in a deno project? With npm, we can simply run npm i https://pkg.pr.new/<owner>/<repo>/<npm-package-name>@<pr-id> and the PR branch version of the package will be installed. Does deno have a way of handling this?
GitHub
GitHub - stackblitz-labs/pkg.pr.new: 📦️ Continuous (Preview) R...
📦️ Continuous (Preview) Releases for your libraries! - GitHub - stackblitz-labs/pkg.pr.new: 📦️ Continuous (Preview) Releases for your libraries!
2 Replies
marvinh.
marvinh.4d ago
That's something we should support in Deno too. Can you file an issue for that here https://github.com/denoland/deno/issues ?
Squidgical (@me in replies)
GitHub
Support for importing from URL-hosted tarball · Issue #28686 · de...
Services like https://github.com/stackblitz-labs/pkg.pr.new offer npm packages in tarball form. For that one in particular you can run npm i https://pkg.pr.new/<owner>/<repo>/<npm-pa...

Did you find this page helpful?