3 Object.defineProperty(exports, "__esModule", {
7 var _stringWidth = require('string-width');
9 var _stringWidth2 = _interopRequireDefault(_stringWidth);
11 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14 * Calculates width of each cell contents.
16 * @param {string[]} cells
19 exports.default = cells => {
20 return cells.map(value => {
21 return (0, _stringWidth2.default)(value);