5 ms·
Golang has the golang.org/x packages, which avoids too much stdlib bloat while still providing the niceties of “pre-vetted” packages that don’t pull in a massiv
by wky 4mo ago
Golang has the golang.org/x packages, which avoids too much stdlib bloat while still providing the niceties of “pre-vetted” packages that don’t pull in a massive dependency tree.
- pier25 4mo agoyeah I wish Node had something like that
- slopinthebag 4mo agoIt does! (well Deno does but you can use them in Node) https://jsr.io/@std https://jsr.io/@std
- pier25 4mo agosupport is not uniform though eg: https://jsr.io/@std/dotenv https://jsr.io/@std/dotenv
- tanin 4mo agoYeah, I try to avoid 3rd party libraries unless it comes from credible sources/companies or vetted by famous frameworks e.g. Rails uses it. Not just for NPM but for Intellij plugin, VSCode extension, and etc. If Node has officially pre-vetted libraries, that would be really awesome.