mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
519 B
25 lines
519 B
9 years ago
|
'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
|
||
|
* @return {string}
|
||
|
*/
|
||
|
|
||
|
exports.default = function (columns, border) {
|
||
|
return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n';
|
||
|
};
|
||
|
|
||
|
module.exports = exports['default'];
|
||
|
//# sourceMappingURL=drawRow.js.map
|