UNPKG

@n0safe/indirectus

Version:
11 lines 367 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.comment = comment; function comment(context, str) { if (Array.isArray(str)) { str = str.join("\n").replace(/(^\n*)|(\n*$)/gi, ""); } str = str.split("\n"); return `/**\n${str.map((line) => ` * ${line}`).join("\n")}\n*/`; } //# sourceMappingURL=comment.js.map