asciitable 0.0.10

A simple asciitable.


To use this package, run the following command in your project's root directory:

  • Asciitable for dlang [[https://github.com/gizmomogwai/asciitable][https://img.shields.io/github/tag/gizmomogwai/asciitable.svg?style=flat-square]] [[https://travis-ci.org/gizmomogwai/asciitable][https://img.shields.io/travis/gizmomogwai/asciitable/master.svg?style=flat-square]] [[https://codecov.io/gh/gizmomogwai/asciitable][https://img.shields.io/codecov/c/github/gizmomogwai/asciitable/master.svg?style=flat-square]] [[https://gizmomogwai.github.io/asciitable][https://img.shields.io/readthedocs/pip.svg?style=flat-square]]

Simple api to create nice looking asciitables.

Shameless plug from the fantastic [[https://github.com/tj/terminal-table][terminal-table]], [[https://github.com/piotrmurach/tty-table][tty-table]] or [[https://github.com/phsym/prettytable-rs][prettytable-rs]] (I only found the later two when writing this readme :)).

#+NAME: example #+BEGIN_SRC d import asciitable; import std.stdio;

new AsciiTable(2)

.row.add("hello").add("world")
.row.add("here").add("we are")
.table
.format
.parts(new UnicodeParts)
.columnSeparator(true)
.writeln;

->

|hello|world | |here |we are|

#+END_SRC

** Usage Please see the [[https://gizmomogwai.github.io/asciitable/asciitable/AsciiTable.html][online docs]] for an example.

TODOs * TODO horizontalPadding for cells

Authors:
  • Christian Koestlin
Dependencies:
packageversion, colored
Versions:
0.0.10 2019-Dec-01
0.0.9 2019-Feb-25
0.0.8 2018-Nov-25
0.0.7 2018-Nov-19
0.0.6 2018-Nov-12
Show all 11 versions
Download Stats:
  • 1 downloads today

  • 3 downloads this week

  • 13 downloads this month

  • 175 downloads total

Score:
0.5
Short URL:
asciitable.dub.pm