How to print a Node version of WebKit

If I wanted to check which Node version of WebKit I use, how would I do this from the command line?

+4
source share
3 answers

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

+4
source

Run node webkit from the command line:

nw

nw:version , .

enter image description here

+5

nw ls receives a list of local cached versions of nwjs from the command line, which may be useful.

0
source

All Articles