To find out the version of node -webkit in the application so that you can determine if certain APIs are available, to get it, you can use:
process.versions['node-webkit']
And to quickly find out the version of node -webkit that you are currently using, you can type nw:versionin the toolbar, then node -webkit will print the versions, for example:
node-webkit v0.3.5
node.js v0.8.14
If you are using Node Webkit Builder, use nwbuild -vornwbuild --version
source
share