3 ms·
1. Deno comes with a standard library that has been audited by the Deno maintainers 2. The Deno runtime runs with limited permissions by default, so you have t
by schemescape 5y ago
1. Deno comes with a standard library that has been audited by the Deno maintainers
2. The Deno runtime runs with limited permissions by default, so you have to allow access to file system locations or network hosts explicitly
Now, the repository part is arguably not as big of an improvement (if at all). There’s a central repository for third party modules. One nice aspect is it just mirrors code, so you can see what you’re getting before downloading (and, in NPM’s case, running install scripts, if you forgot —-ignore-scripts).
Deno also suggests using CDNs, but they often just host NPM modules that have been transformed into ES modules. That seems worse than NPM, in my opinion.