Publish npm tarball to Nexus private registry

Set auth token to npm registry to download files:

npm config set http://registry.npmjs.org/:_authToken npm_xxxxxxxxxxxxxxxxxxxxxxxxxxx
Download the target tarball for package socket.io-adapter@2.5.5 - as example:
wget $(npm view socket.io-adapter@2.5.5 dist.tarball)
Authenticate to nexus:
npm login --registry=https://nexus.domain.tld/repository/npm-repo/ --always-auth --userconfig=./.npmrc
Publish downloaded package to Nexus:
npm --registry=https://nexus.domain.tld/repository/npm-repo/ publish socket.io-adapter-2.5.5.tgz