title: NPM show update progress programmatically
body: <p>I want to use NPM as the update engine for a <a href="https://nwjs.io/" rel="nofollow noreferrer">NWJS</a> desktop app.</p>
  
  <p>I know its possible to hook up to the NPM api to <a href="https://stackoverflow.com/questions/15957529/can-i-install-a-npm-package-from-javascript-running-in-node-js/15957574#15957574">programatically install packages</a> and my understanding is that the same API can be leveraged for NPM updates. </p>
  
  <p>I'd like is to show a progress bar to users that gives users an indication of how far they are through the update process.</p>
  
  <p>Is it possible to do an <code>npm update</code> programmatically with a callback that shows progress as a percentage of all packages updated?</p>