npm get registry code example
Example: 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');