template/publish.js
function(data) {
    var tagDict = {};

    if (data.tags) {
      each(data.tags, function(tag) {
        tagDict[tag.title] = tag.value;
      });
    }

    return tagDict;
  }
function(data) {
    var tagDict = {};

    if (data.tags) {
      each(data.tags, function(tag) {
        tagDict[tag.title] = tag.value;
      });
    }

    return tagDict;
  }
function ( data ) { var tagDict = { } ; if ( data . tags ) { each ( data . tags , function ( tag ) { tagDict [ tag . title ] = tag . value ; } ) ; } return tagDict ; }
Get a tag dictionary from the tags field on the object, for custom fields
like package
@param  {JSDocData} data The thing you get in the TaffyDB from JSDoc
@return {Object}      Keys are the parameter names, values are the values.
Get a tag dictionary from the tags field on the object for custom fields like package