get element inside object node.js

JavaScript
result.items.map(function (item) {
  return item.cid
})

Source

Also in JavaScript: