new parameter: 'registry' for NPM module
Merge pull request #11926 from vortec/npm_registry

npm state module: Add parameter to specify a custom NPM server