title: Get the latest npm package version programatically?
body: <p>Looking for a way to access the latest version number of an npm package. Is there some kind of API where I can't ping npm directly? Or is there a programatic npm command I can use?</p>
  
  <pre><code>getNpmVersion('lodash').then(console.log) // =&gt; 4.11.1
  </code></pre>