Lines Matching defs:const
3 const stringWidth = require('string-width');
4 const stripAnsi = require('strip-ansi');
6 const concat = Array.prototype.concat;
7 const defaults = {
16 const plainA = stripAnsi(a);
17 const plainB = stripAnsi(b);
39 const valueWidth = stringWidth(value);
40 const filler = makeList(fullWidth - valueWidth + 1);
65 const termWidth = options.width || process.stdout.columns;
66 const cellWidth =
68 const columnCount = Math.floor(termWidth / cellWidth) || 1;
69 const rowCount = Math.ceil(cells.length / columnCount) || 1;