UNPKG

@tdb/web

Version:

Common condiguration for serving a web-site and testing web-based UI components.

21 lines (18 loc) 439 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * @typedef {Object} drawRow~border * @property {string} bodyLeft * @property {string} bodyRight * @property {string} bodyJoin */ /** * @param {number[]} columns * @param {drawRow~border} border * @returns {string} */ exports.default = (columns, border) => { return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n'; };