export default function singleLine(lits, ...subs) {
  let result = "";
  // run the loop only for the substitution count
  for (let i = 0; i < subs.length; i++) {
    result += lits[i];
    result += subs[i];
  }
  // add the last literal
  result += lits[lits.length - 1];
  return result.replace(/(?:\s+)/g, ' ');
};

@@ -1,8 +1,380 @@
+%0A/**%0A * template tag. allows you to write%0A * a string out on multiple lines%0A * and it will reduce it to a one-line%0A * string by normalizing newlines to spaces%0A * and removing unecessary indentation%0A * @param  %7BArray%7D lits    template literals%0A * @param  %7BArguments%7D ...subs template interpolated variables%0A * @return %7BString%7D         the single-line normalized string%0A */%0A
 export d

comment template tag