Hacker News new | ask | show | jobs
by 29athrowaway 2175 days ago
Was not one of the main motivations for deno to not use a package manager?
2 comments

I believe so. I always wondered why `go mod` existed until we had dependencies break fairly frequently from a certain domain and were forced to vend the dependency.
Indeed, this is a massive issue with any url based imports. Because Trex supports nest.land, this is not an issue. nest.land is actually a first-of-its-kind blockchain module registry and CDN. Because we use the blockchain for storing modules, they can never be deleted or altered in any way. This also means that they are permanently and indefinitely resolvable from the web. Because of this, module vendoring is no longer an issue!
what trex does is, downloads and caches the modules and stores them within the name aliases provided by the import map