Ter NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY Optie, DAMAGES OR OTHER LIABILITY, WHETHER Te AN Activity OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR Ter CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS Te THE SOFTWARE.
This utility permits you to render unicode-aided tables on the instruction line from your knot.js scripts.
- Customizable characters that constitute the table.
- Color/background styling ter the header through colors.js
- Katern width customization
- Text truncation based on predefined widths
- Text alignment (left, right, center)
- Padding (left, right)
- Easy-to-use API
How to use
Cross tables are very similar to derecho tables, with two key differences:
- They require a head setting when instantiated that has an empty string spil the very first header
- The individual rows take the normal form of
The chars property controls how the table is drawn:
Empty decoration lines will be skipped, to avoid erguido separator rows just set the ‘mid’, ‘left-mid’, ‘mid-mid’, ‘right-mid’ to the empty string:
By setting all chars to empty with the exception of ‘middle’ being set to a single space and by setting padding to zero, it’s possible to get the most klein layout with no decorations:
Clone the repository with all its submodules and run:
- Guillermo Rauch <,email@example.com>, (Guille)
(The MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to overeenkomst te the Software without limitation, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included ter all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘Spil IS’, WITHOUT WARRANTY OF ANY Kleintje, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. Ter NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY Keuze, DAMAGES OR OTHER LIABILITY, WHETHER Te AN Activity OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR Ter CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS Te THE SOFTWARE.