node-fetch only returning promise pending
<p>I am trying out <code>node-fetch</code> and the only result I am getting is:</p>

<p><code>Promise { &lt;pending&gt; }</code></p>

<p>How can I fix this so I get a completed <code>promise</code>?</p>

<p>code:</p>

<pre><code>var nf = require('node-fetch');

nf(url).then(function(u){console.log(u.json())})
</code></pre>