All Projects → chuyik → json-table-converter

chuyik / json-table-converter

Licence: other
Convert any json to table.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to json-table-converter

json-to-html-converter
Converts JSON data to HTML table with collapsible details view for nested objects.
Stars: ✭ 13 (-64.86%)
Mutual labels:  table, convert
ttf2hershey
Convert True Type Fonts (.ttf) to Hershey vector fonts
Stars: ✭ 29 (-21.62%)
Mutual labels:  convert
goseeder
Go database seeder inspired from Laravel/Lumen seeder and more
Stars: ✭ 28 (-24.32%)
Mutual labels:  table
react-cool-virtual
😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
Stars: ✭ 1,031 (+2686.49%)
Mutual labels:  table
table
Performant advanced table component
Stars: ✭ 321 (+767.57%)
Mutual labels:  table
cp-react-tree-table
A fast, efficient tree table component for ReactJS.
Stars: ✭ 83 (+124.32%)
Mutual labels:  table
data-mapping-component
A React Component which focus on Data-Mapping & Table-Field-Mapping.(基于React的数据/表字段映射组件)
Stars: ✭ 115 (+210.81%)
Mutual labels:  table
wp-db-table
A base WordPress database table class
Stars: ✭ 28 (-24.32%)
Mutual labels:  table
react-table
simple react sortable searchable table
Stars: ✭ 16 (-56.76%)
Mutual labels:  table
TNCR Dataset
Deep learning, Convolutional neural networks, Image processing, Document processing, Table detection, Page object detection, Table classification. https://www.sciencedirect.com/science/article/pii/S0925231221018142
Stars: ✭ 37 (+0%)
Mutual labels:  table
table-api-generator
Oracle Table API Generator
Stars: ✭ 38 (+2.7%)
Mutual labels:  table
fpdf-easytable
fpdf-easyTable is a PHP class that makes it easy to build tables for PDF documents generated with the FPDF library
Stars: ✭ 74 (+100%)
Mutual labels:  table
ansi-to-svg
😹 convert ANSI Escaped CLI strings to SVGs
Stars: ✭ 18 (-51.35%)
Mutual labels:  convert
fastapi-csv
🏗️ Create APIs from CSV files within seconds, using fastapi
Stars: ✭ 46 (+24.32%)
Mutual labels:  table
Excel2Object
excel convert to .NET Object | Excel与.NET 对象进行转换,支持公式、多Sheet等功能
Stars: ✭ 35 (-5.41%)
Mutual labels:  convert
200wordrpg.github.io
Homepage for the 200 Word RPG Challenge
Stars: ✭ 31 (-16.22%)
Mutual labels:  table
persian
Some utilities for Persian language in Go (Golang)
Stars: ✭ 65 (+75.68%)
Mutual labels:  convert
e2-scripts
Scripts for working with electribe 2.
Stars: ✭ 20 (-45.95%)
Mutual labels:  convert
S2
⚡️ Practical analytical Table rendering core lib.
Stars: ✭ 818 (+2110.81%)
Mutual labels:  table
Convertify
iOS: Convert Spotify links to Apple Music and vice versa
Stars: ✭ 27 (-27.03%)
Mutual labels:  convert

JSON To Table

A JavaScript library to convert JSON data to Table.

Feature

  • Convert JSON To <table />

Usage

npm install json-table-converter

API

jsonToTableHtmlString(json, options)

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
[options.formatCell] Function Cell Value Format Function

API Flow Example

flow

Demo

const { jsonToTableHtmlString } = require('json-table-converter')
const html = jsonToTableHtmlString(json, {
  tableStyle: string, // <table/> Style
  trStyle: string,    // <tr/> Style
  thStyle: string,    // <th/> Style
  tdStyle: string,    // <td/> Style
  tdKeyStyle: string, // <td/> Key Style
  formatCell: (cellValue, isKeyCell) => newCellValue,
})

Donation

If you find this project useful, you can buy us a cup of coffee:


Contributors

chuyik
chuyik
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].