# mdtoken-to-mdast

> mdast utility to compile micromark tokens

Latest version **1.2.0** (published 2022-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install mdtoken-to-mdast
pnpm add mdtoken-to-mdast
yarn add mdtoken-to-mdast
bun add mdtoken-to-mdast
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-03-30 |
| First published | 2022-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 12 |
| Unpacked size | 80.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Titus Wormer |
| Maintainers | chrisjsewell |
| Keywords | unist, mdast, mdast-util, util, utility, markdown, markup, parse, syntax, tree, ast |

## Links

- npm: https://www.npmjs.com/package/mdtoken-to-mdast
- Repository: https://github.com/chrisjsewell/mdast-util-from-markdown
- Homepage: https://github.com/chrisjsewell/mdast-util-from-markdown#readme
- Issues: https://github.com/chrisjsewell/mdast-util-from-markdown/issues
- npm.io page: https://npm.io/package/mdtoken-to-mdast

## Dependencies (12)

- [uvu](https://npm.io/package/uvu.md) ^0.5.0
- [micromark](https://npm.io/package/micromark.md) ^3.0.0
- [@types/mdast](https://npm.io/package/@types/mdast.md) ^3.0.0
- [@types/unist](https://npm.io/package/@types/unist.md) ^2.0.0
- [mdast-util-to-string](https://npm.io/package/mdast-util-to-string.md) ^3.1.0
- [micromark-util-types](https://npm.io/package/micromark-util-types.md) ^1.0.0
- [micromark-util-symbol](https://npm.io/package/micromark-util-symbol.md) ^1.0.0
- [micromark-util-decode-string](https://npm.io/package/micromark-util-decode-string.md) ^1.0.0
- [unist-util-stringify-position](https://npm.io/package/unist-util-stringify-position.md) ^3.0.0
- [decode-named-character-reference](https://npm.io/package/decode-named-character-reference.md) ^1.0.0
- [micromark-util-normalize-identifier](https://npm.io/package/micromark-util-normalize-identifier.md) ^1.0.0
- [micromark-util-decode-numeric-character-reference](https://npm.io/package/micromark-util-decode-numeric-character-reference.md) ^1.0.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2022-03-30

## README

# mdtoken-to-mdast

mdast utility to compile micromark tokens.

**IMPORTANT**: This is a fork of [mdast-util-from-token](https://github.com/syntax-tree/mdast-util-from-markdown),
which exposes the `compiler` function for import,
and not affiliated directly with unified.

Unfortunately, a request to the core package for this was rejected: [syntax-tree#29 (comment)](https://github.com/syntax-tree/mdast-util-from-markdown/issues/29#issuecomment-1078782161).
But it is currently required for [unified-myst](https://github.com/executablebooks/unified-myst).

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