https://github.com/web-mech/tables.md
Create markdown tables from javascript arrays.
https://github.com/web-mech/tables.md
Last synced: about 2 months ago
JSON representation
Create markdown tables from javascript arrays.
- Host: GitHub
- URL: https://github.com/web-mech/tables.md
- Owner: web-mech
- Created: 2014-08-12T21:01:07.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-12T23:20:00.000Z (almost 11 years ago)
- Last Synced: 2025-03-06T03:39:05.308Z (3 months ago)
- Language: JavaScript
- Size: 398 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TablesMd
========Markdown table creator
#####Usage
```
var TableMd = require('tables-md');var tableMd = new TableMd();
var data = [['Header', 'Header', 'Header'], ['column', 'column', 'column'], ['column', 'column', 'column']];
console.log(tableMd.parse(data));
```Output:
|Header|Header|Header|
|------|------|------|
|column|column|column|
|column|column|column|#Testing & Development
```
mocha
```
or```
npm test
```