An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
July 24, 2020 10:53 am GMT
Original Link: https://dev.to/madza/how-do-you-deal-with-nodemodules-491j
How do you deal with node_modules?
Node has been around for more than a decade. Developing on it has been fun, tho one of the main drawbacks has always been it's spacious package management.
In 2020, create-react-app would create over 30k files, close to 200 MB in total. Even without installing it via boilerplate, depending on the selected dependencies, the local node_modules folder can get pretty heavy quickly.
So, what if you have like hundreds of projects?
Do you keep the node_modules folder for archived (completed) projects or do you delete it and do npm install if you need to re-visit the particular project later to save space?
Or have you already switched to Ryan's newest offering - Deno, that imports and uses dependencies directly from URLs?
Original Link: https://dev.to/madza/how-do-you-deal-with-nodemodules-491j
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To