check npm registry code example

Example 1: npm registry

https://registry.npmjs.org

Example 2: npm install custom registry

npm config set registry <registry url>

npm install --registry=<registry url>

Example 3: npm show registry

> npm config get registry
# https://registry.npmjs.org/

Example 4: npm windows registry

var utils = require('windows-registry').utils;utils.associateExeForFile('myTestHandler', 'A test handler for unit tests', 'C:\\path\\to\\icon', 'C:\\Program Files\\nodejs\\node.exe %1', '.zzz');