npm js registry code example
Example 1: npm registry
https://registry.npmjs.org
Example 2: 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');