4 ms·
You aren't meant to put your own files manually inside node_modules. What are you trying to achieve with that?
by zkldi 5y ago
You aren't meant to put your own files manually inside node_modules. What are you trying to achieve with that?
- silon42 5y agoHave it in git and be part of code review.
- nishs 5y agoIf the code is managed manually and not by package.json, I would consider putting such code in a "vendor" or "third_party" directory instead of putting into "node_modules".
- z3t4 5y agoYou use "npm install" to place modules in node_modules, and "npm update" to conveniently update them. But you have to either 1) trust the maintainers of the modules or 2) review the code changes.