code: function parseJsDoc(filePath, jsdoc) {
    return jsdoc.explain({files:[filePath]}).then(items=>{
      const data = {};
      items.forEach(item=>{
        if (!item.undocumented && !data.hasOwnProperty(item.longname)) {
          data[item.longname] =  {
            name: item.name,
            description: item.classdesc || item.description
          };
        }
      });
  
      return data;
    });
  }
docs: Parse an input file for jsDoc and put json results in give output file.
  
  @param {string} filePath			File path to parse jsDoc from.
  @param {Object} jsdoc			The jsdoc class.
  @returns {Promise.<Object>}		Parsed jsDoc data.