A JavaScript library to convert JSON data to Table.
- Convert JSON To <table />
npm install json-table-converter
Convert Json to <table />
Param | Type | Description |
---|---|---|
json | Object | Array |
|
options | Object |
|
[options.tableStyle] | String |
<table/> Style |
[options.trStyle] | String |
<tr/> Style |
[options.thStyle] | String |
<th/> Style |
[options.tdStyle] | String |
<td/> Style |
[options.tdKeyStyle] | String |
<td/> Key Style |
If you find this project useful, you can buy us a cup of coffee:
chuyik |