# @jackens/md2json

> Markdown to JSON

Latest version **1.6.14** (published 2018-06-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jackens/md2json
pnpm add @jackens/md2json
yarn add @jackens/md2json
bun add @jackens/md2json
```

## 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.6.14 |
| Published | 2018-06-14 |
| First published | 2018-04-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jackens |
| Maintainers | jackens |
| Keywords | md2json |

## Links

- npm: https://www.npmjs.com/package/@jackens/md2json
- Repository: https://github.com/jackens/md2json
- Homepage: https://github.com/jackens/md2json#readme
- Issues: https://github.com/jackens/md2json/issues
- npm.io page: https://npm.io/package/@jackens/md2json

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.6.14 (latest) — 2018-06-14
- 1.6.13 — 2018-06-13
- 1.5.20 — 2018-05-18
- 1.4.25 — 2018-04-25
- 1.4.24 — 2018-04-25

## README

# md2json

Markdown to JSON.
Works in both Node.js and the browser.
Lightweight. No dependencies.

## Install

### NPM

```
npm install @jackens/md2json
```

### CDN

```html
<script type="text/javascript" src="https://cdn.rawgit.com/jackens/md2json/master/dist/md2json.js"></script>
```

or

```html
<script type="text/javascript" src="https://cdn.rawgit.com/jackens/md2json/master/dist/md2json.min.js"></script>
```

or

```html
<script type="text/javascript" src="https://unpkg.com/@jackens/md2json/md2json.js"></script>
```

or

```html
<script type="text/javascript" src="https://unpkg.com/@jackens/md2json/md2json.min.js"></script>
```

## Usage

```js
var fs = require('fs')
var md2json = require('@jackens/md2json')

console.log(JSON.stringify(md2json(fs.readFileSync('readme.md', 'utf8')), null, 4))
```

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