URLs are more flexible, and it may be a good idea in the long run. But package management systems make stuff easier to use.
Deno has a section in its docs on Managing modules. One of the conventions is to place all imports in a single deps.ts file. Functionality is then exported out of deps.ts for use by local modules. This makes it easier to manage dependency versions and stuff
You don't have to worry about network problems though – once you run it, Deno caches all the modules required.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
URLs are more flexible, and it may be a good idea in the long run. But package management systems make stuff easier to use.
Deno has a section in its docs on Managing modules. One of the conventions is to place all imports in a single
deps.ts
file. Functionality is then exported out ofdeps.ts
for use by local modules. This makes it easier to manage dependency versions and stuffYou don't have to worry about network problems though – once you run it, Deno caches all the modules required.