scripts/docs/index.js
function getDocObject(dir, info) {
  const markdown = getReadmeText(dir);
  const html = marked(markdown);
  const cleanedHTML = prepareHTML(html, info);
  return { pkg: dir, html: cleanedHTML };
}
function getDocObject(dir, info) {
  const markdown = getReadmeText(dir);
  const html = marked(markdown);
  const cleanedHTML = prepareHTML(html, info);
  return { pkg: dir, html: cleanedHTML };
}
function getDocObject ( dir , info ) { const markdown = getReadmeText ( dir ) ; const html = marked ( markdown ) ; const cleanedHTML = prepareHTML ( html , info ) ; return { pkg : dir , html : cleanedHTML } ; }
From a package directory, get the html from the markdown
@return {pkg, html}
From a package directory get the html from the markdown