Difference between Electron.js and NW.js

There are two ways to develop cross platform desktop applications one is Electron.js by github and other NW.js formerly known as node-webkit.It is quite confusing to know which to use in our own applications but thanks to electron team they have clearly pointed out the differences between the two platforms in this nicely written article which compares the two platforms.