asciitable ~master
A simple asciitable.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
- 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
- ~master released 2 years ago
- gizmomogwai/asciitable
- MIT
- Copyright (c) 2018, Christian Koestlin
- Authors:
- Dependencies:
- colored
- Versions:
-
0.0.14 2022-Jun-24 0.0.13 2022-Jun-23 0.0.12 2022-May-25 0.0.11 2020-May-30 0.0.10 2019-Dec-01 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
249 downloads total
-
- Score:
- 0.8
- Short URL:
- asciitable.dub.pm