If you want to speed up dependencies installing of your node project try to use this npm options: Sometimes this dramatically increase installing times
Use this flags (or npm options):
--prefer-offline - prefer use a local version of packages instead check ones at registry.
--no-audit - disable security checking of used dependencies (may be insecure)
--no-progress - disable progress bar (thats increase performance of dependencies installing OMG)
--no-optional - ignore installing optional dependencies
--ignore-scripts - disable running post-install scripts that may be dangerous
You can use it as npm cli flags or sets this at .npmrc at your project dir or sets by npm config set
But if you are looking for a better solution - use local (cache) registry, e.g
verdaccio(https://verdaccio.org/)