Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does Bun support url imports for module loading?


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


I think you can achieve this via a bun plugin




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: