# table-it

> README.md

Latest version **1.0.2** (published 2018-01-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install table-it
pnpm add table-it
yarn add table-it
bun add table-it
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-01-21 |
| First published | 2018-01-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Niteen Autade |
| Maintainers | niteenautade |

## Links

- npm: https://www.npmjs.com/package/table-it
- Repository: https://github.com/niteenautade/table-it
- Homepage: https://github.com/niteenautade/table-it#readme
- Issues: https://github.com/niteenautade/table-it/issues
- npm.io page: https://npm.io/package/table-it

## Recent versions

- 1.0.2 (latest) — 2018-01-21
- 1.0.1 — 2018-01-13
- 1.0.0 — 2018-01-13

## README

# table-it
This module can be used to convert any form of json or array to a HTML table.
```javascript
var tableit = require("table-it")
// Example 1 
var data = {
    "A":"A1",
    "B":"B1"
}
console.log( tableit(data) )

// Example 2
var data = [{
    "A":"A1",
    "B":"B1"
    },{
    "A":"A2",
    "B":"B2"
}]
console.log( tableit(data) )

// Example 3
var data = [{
    "A":"A1",
    "B":"B1"
    },{
    "A":[11,12,13],
    "B":"B2"
}]
console.log( tableit(data) )

// Example 4
var data = {
    "A":"A1",
    "B":[
            {
                "C":"C1"    
            }
        ]
}

console.log( tableit(data) )


```

---
_Source: https://npm.io/package/table-it · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
