Your requests are not async and so the item will always be `undefined`. You should add a callback to your functions.<p><pre><code> hn.item(8863, function(err, item){
console.log(item);
});
</code></pre>
Edit: Actually, there is a lot that isn't correct about this library.. you should add a disclaimer that this is a WIP and is not in a usable state.