NPM acceleration module download (if you do not want to see the process, you can directly execute the first and third steps of the code)
Many people experience slow module loading when using NodeJS. Here is a minute to speed up the process. Many people may install CNPM, but there are various problems when installing modules. How to speed up NPM, is nothing more than to switch the download source, through NRM to domestic. If you don’t want to see the process, you can just execute the first and third steps of the code
The first step
npm install nrm -g
Copy the code
Step 2 (skip)
nrm ls
Copy the code
The third step
nrm use taobao
Copy the code