News for hackers. Stuff that matters.
Re:Bun v1.0.0 by evbogue on Friday September 08, 2023 @11:25AM (#37434809)
Does Bun support url imports for module loading?
Re:Bun v1.0.0 by lioeters on Friday September 08, 2023 @03:36PM (#37438373)
I was curious about this too, whether Bun supports URL module imports. Skimmed through the documentation a few times, and I believe it does not.

But, the command `bun install` supports NPM and custom registries, as well as Git and .tgz URLs.

https://bun.sh/docs/cli/install#git-dependencies

Re:Bun v1.0.0 by wdb on Friday September 08, 2023 @06:58PM (#37440327)
I think you can achieve this via a bun plugin