index.cjs 501 B

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. function join(tokens) {
  6. return tokens.start + tokens.delimiter + tokens.postDelimiter + tokens.tag + tokens.postTag + tokens.type + tokens.postType + tokens.name + tokens.postName + tokens.description + tokens.end + tokens.lineEnd;
  7. }
  8. function getStringifier() {
  9. return block => block.source.map(({
  10. tokens
  11. }) => join(tokens)).join('\n');
  12. }
  13. exports.default = getStringifier;
  14. //# sourceMappingURL=index.cjs.map