|
|
|
|
|
by lucacasonato
1616 days ago
|
|
> So you immediately pinpointed the difference: with Node I can run my own registry and easily set up npm/yarn to never load packages from anywhere else. Deno loads code from random urls. Which is why we support a) import maps which allow you to rewrite all URLs however you want, and b) HTTP_PROXY, which allows you to intercept all HTTP traffic (also letting you rewrite all specifiers). I don't know if you have ever worked on a Go project, but it has a very similar registry proxy situation as Deno. It works well. |
|