Get version of nw.js in app

Alan James edited this page Feb 18, 2015 · 1 revision

Sometimes you may need to know the version of node-webkit in app so you can determine whether certain APIs are available, to get it you can use:

process.versions['node-webkit']

And to quickly know the node-webkit's version you are using now, you can type nw:version in the toolbar, then node-webkit would print the versions like:

node-webkit v0.3.5
node.js v0.8.14
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.