aboutsummaryrefslogtreecommitdiff
path: root/node_modules/table/dist/padTableData.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/table/dist/padTableData.js')
-rw-r--r--node_modules/table/dist/padTableData.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/node_modules/table/dist/padTableData.js b/node_modules/table/dist/padTableData.js
deleted file mode 100644
index a78ce49b..00000000
--- a/node_modules/table/dist/padTableData.js
+++ /dev/null
@@ -1,20 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-/**
- * @param {table~row[]} rows
- * @param {Object} config
- * @returns {table~row[]}
- */
-exports.default = (rows, config) => {
- return rows.map(cells => {
- return cells.map((value, index1) => {
- const column = config.columns[index1];
-
- return ' '.repeat(column.paddingLeft) + value + ' '.repeat(column.paddingRight);
- });
- });
-}; \ No newline at end of file