Why we are required to install libraries each time in new npm project?

Viewed 94

Each time when I start a new project I download many dependencies and configure some settings in VS Code again and again. For example I run these commands like npm install --save-dev webpack and npm install eslint --save-dev and copy some config files like .eslintrc.

Is there any way to avoid this?

I use npm and VS code.

1 Answers

the possible way is to delete the new node module folder and package.json from new installed project, and copy it from the old project. there is no legal way to perform a new project without the installation of required packages through npm.

Related