* v2.2.4 - optimized performance: cached ANSI color regex, use String.repeat(), Set lookup for border chars, pre-computed column keys - fixed ANSI regex to support 256-color and RGB sequences - fixed text truncation to use display width instead of string length - fixed surrogate pairs handling in character width calculation - improved documentation * v2.2.3 - fixed hex color issue * v2.2.2 - fixed the tree icon if name is empty * v2.2.1 - fixed color for truncated string * v2.2.0 - removed first level tree line * v2.1.0 - added types * v2.0.1 - added option getCharLength * v2.0.0 (breaking change) - functional interface - supported simple data formatter - supported column align center - renamed some options ```js // migration from 1.x: // 1.x option hideHeaders (default false) const data = { option: { hideHeaders: true } } // => 2.x options headerVisible (default true) const data = { options: { headerVisible: false } } // 1.x render const ConsoleGrid = require('console-grid'); const consoleGrid = new ConsoleGrid(); consoleGrid.render(data); // => 2.x render const CG = require('console-grid'); CG(data); ``` --- * v1.0.17 - updated eight-colors * v1.0.16 - fixed empty name issue - fixed output log mixing - fixed option override issue * v1.0.15 - fixed invalid header name with column id - added row.innerBorder * v1.0.14 - support fullWidth Unicode