Just copy all the code from index.js and modify it as you need.
Sorry, you can't just npm install this, because of different scopes of node and window โ [read more] (https://github.com/rogerwang/node-webkit/wiki/Transfer-objects-between-window-and-node#wiki-bridge-between-window-and-node).