3 ms·
The node_modules folder is my least favorite part of the JS ecosystem. I realize now that's mostly because of npm-cli. npm-cli's job was simple. Take in a `pac
by zuck9 10y ago
The node_modules folder is my least favorite part of the JS ecosystem. I realize now that's mostly because of npm-cli.
npm-cli's job was simple. Take in a `package.json` as input and output the same `node_modules` folder as fast as possible. But somehow it couldn't do that even after getting 6 years old. On top of that, every now and then with when you ran `npm update` or `npm dedupe`, it messed up the `node_modules` folder with extraneous and invalid packages.