# json-to-markdown-table

> Transform JSON object to markdown style table

Latest version **1.0.0** (published 2016-10-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install json-to-markdown-table
pnpm add json-to-markdown-table
yarn add json-to-markdown-table
bun add json-to-markdown-table
```

## 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.0 |
| Published | 2016-10-14 |
| First published | 2016-10-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Takuto Suzuki |
| Maintainers | taku |

## Links

- npm: https://www.npmjs.com/package/json-to-markdown-table
- Repository: https://github.com/tsuz/json-to-markdown-table
- Homepage: https://github.com/tsuz/json-to-markdown-table#readme
- Issues: https://github.com/tsuz/json-to-markdown-table/issues
- npm.io page: https://npm.io/package/json-to-markdown-table

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.16.4

## Recent versions

- 1.0.0 (latest) — 2016-10-14

## README

# json-to-markdown-table
Transform JSON object to markdown style table

# Example



```
var app = require('json-to-markdown-table');

var columns = [
    'a',
    'b',
    'c',
];


var object = [
    {
        a: 'asdfa',
        b: '239487',
        c: '234',
    },
    {
        a: 'sdf',
        b: 'gsdf',
        c: 'sfd',
    }
];

var tableMdString = app(object, columns);

//   |a|b|c|
//   |----|----|----|
//   |asdfa|239487|234|
//   |sdf|gsdf|sfd|


```

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