This video describes the below.
How to configure in npm client to download artifacts/dependencies from Nexus instead of external remote registry?
How to solve 401 Error while downloading the npm packages from nexus?
For how to create npm registries in Nexus, Follow below link.
• npm registries in Nexus repository ma...
In video, I have set registry at User level. To set it specific to project or user level, use below command.
npm config set registry {value} -L project
npm config set registry {value} -L user