(no title)
dvcrn | 4 years ago
Like if there’s some string manipulation thing I need, instead of copy pasting some snippet, I can pull in the micro package that already does this
dvcrn | 4 years ago
Like if there’s some string manipulation thing I need, instead of copy pasting some snippet, I can pull in the micro package that already does this
ufmace|4 years ago
That's not even what's important though. What's important is, how can you ensure that none of these things happen to any of *your* projects dependencies? It's virtually impossible when there's a thousand of them. Are you going to audit that string manipulation micro package when you first add it, and then for every version update from now on, to ensure that nobody slipped some subtle malicious code into it? And do the same for every other micro package in your project, including all of the ones that the big ticket packages depend on?
All of this would be much less relevant if it had a more fully-featured standard library.
cute_boi|4 years ago
However in Rust I find these packages managed properly which npm should learn.
linkdd|4 years ago
More like "which the JS/TS developers should learn from"
npm is just a package manager, it's not its fault.
hdjjhhvvhga|4 years ago
PKop|4 years ago