# ast-to-markdown

> Transforms an Unist AST to a Markdown text

Latest version **1.0.0** (published 2020-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install ast-to-markdown
pnpm add ast-to-markdown
yarn add ast-to-markdown
bun add ast-to-markdown
```

## 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 | 2020-07-18 |
| First published | 2017-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sébastien Demanou |
| Maintainers | demsking |
| Keywords | ast, markdown, md, unist |

## Links

- npm: https://www.npmjs.com/package/ast-to-markdown
- Repository: https://gitlab.com/demsking/ast-to-markdown
- Issues: https://gitlab.com/demsking/ast-to-markdown/issues
- npm.io page: https://npm.io/package/ast-to-markdown

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-07-18
- 0.2.2 — 2018-07-01
- 0.2.1 — 2018-06-15
- 0.2.0 — 2017-09-16
- 0.1.0 — 2017-09-16

## README

# Unist AST to Markdown

Transforms an [Unist AST](https://github.com/syntax-tree/unist) to a Markdown text

[![npm](https://img.shields.io/npm/v/ast-to-markdown.svg)](https://www.npmjs.com/package/ast-to-markdown) [![Build status](https://gitlab.com/demsking/ast-to-markdown/badges/master/pipeline.svg)](https://gitlab.com/demsking/ast-to-markdown/pipelines) [![Test coverage](https://gitlab.com/demsking/ast-to-markdown/badges/master/coverage.svg)](https://gitlab.com/demsking/ast-to-markdown/pipelines)

## Install

```sh
npm install --save ast-to-markdown
```

## Usage

```javascript
const toMarkdown = require('ast-to-markdown')

const mdText = toMarkdown(tree)

console.log(mdText)
```

## License

Under the MIT license. See [LICENSE](https://gitlab.com/demsking/ast-to-markdown/blob/master/LICENSE) file for more details.

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