module.exports=extractDescription// Extracts description from contents of a readme file in markdown formatfunctionextractDescription(d){if(!d)return;if(d==="ERROR: No README data found!")return;// the first block of text before the first heading// that isn't the first line headingd=d.trim().split('\n')for(vars=0;d[s]&&d[s].trim().match(/^(#|$)/);s++);varl=d.lengthfor(vare=s+1;e<l&&d[e].trim();e++);returnd.slice(s,e).join(' ').trim()}