UNPKG

node-wcm-dataexchange

Version:

node-wcm-dataexchange =====================

14 lines (12 loc) 330 B
var npm = require("npm"); npm.load({}, function(){ if(process.platform.match(/^win/)){ if(process.arch.match(/32$/)){ npm.install("jsdom_win32"); }else if(process.arch.match(/64$/)){ npm.install("jsdom_win64"); } }else{ npm.install("jsdom"); } });