code: function getView(id, viewID) {
    return getItem(id)
      .then(pkg => pkg.views.find(e => e.viewID === viewID));
  }
docs: Returns a view
  @param {string} id - Package instance ID
  @param {string} viewID - view ID
  @return {array} view objects