# mdtable2json

> No name given yet

Latest version **0.1.0** (published 2015-09-29) · BSD license · 0 weekly downloads

## Install

```sh
npm install mdtable2json
pnpm add mdtable2json
yarn add mdtable2json
bun add mdtable2json
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-09-29 |
| First published | 2015-09-29 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Vittorio Zaccaria |
| Maintainers | vzaccaria |

## Links

- npm: https://www.npmjs.com/package/mdtable2json
- Repository: https://github.com/vzaccaria/mdtable2json
- Issues: https://github.com/vzaccaria/mdtable2json/issues
- npm.io page: https://npm.io/package/mdtable2json

## Dependencies (4)

- [debug](https://npm.io/package/debug.md) ^2.1.3
- [mdast](https://npm.io/package/mdast.md) ^2.0.0
- [markdox](https://npm.io/package/markdox.md) ^0.1.8
- [bluebird](https://npm.io/package/bluebird.md) ^2.9.14

## Recent versions

- 0.1.0 (latest) — 2015-09-29

## README

# mdtable2json [![NPM version](https://badge.fury.io/js/mdtable2json.svg)](http://badge.fury.io/js/mdtable2json)

Install globally with [npm](https://www.npmjs.com/)

```sh
$ npm i -g mdtable2json
```

# What is it

Takes a markdown string and extracts tables in json form contained in it.

## Example

``` js
var x =
            `
| a    | b     | c     |
| ---- | ----- | ----- |
| 1    | 2     | 3     |
`

var tb = require('mdtable2json').getTables(x)

/* tb =

[{
            "headers": [
                "a",
                "b",
                "c"
            ],
            "json": [{
                "a": "1",
                "b": "2",
                "c": "3"
            }]
        }]

*/
```

# API

<!-- Start index.js -->

<!-- End index.js -->

# Author

* Vittorio Zaccaria

# License
Copyright © 2015 Vittorio Zaccaria
Released under the BSD license.

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 29, 2015._

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