3 Object.defineProperty(exports, "__esModule", {
6 exports.default = void 0;
9 * @param {table~row[]} rows
10 * @param {object} config
11 * @returns {table~row[]}
13 const padTableData = (rows, config) => {
14 return rows.map(cells => {
15 return cells.map((value, index1) => {
16 const column = config.columns[index1];
17 return ' '.repeat(column.paddingLeft) + value + ' '.repeat(column.paddingRight);
22 var _default = padTableData;
23 exports.default = _default;
24 //# sourceMappingURL=padTableData.js.map