gfm-table
gfm-table generates GFM (GitHub Flavored Markdown) style table.
Installation
$ npm install gfm-table
Usage
var table = var out = ; console;
Output
| name | color | count |
| ------------- | ----- | ----- |
| Manx Loaghtan | brown | 1200 |
| Merino | white | 534 |
| Suffolk | black | 200 |
With alignment options
l
- leftc
- centerr
- right
var table = var out = ; console;
Output
| name | color | count |
|:-------------:|:----- | -----:|
| Manx Loaghtan | brown | 1200 |
| Merino | white | 534 |
| Suffolk | black | 200 |
License
MIT