# bytemd

> Hackable Markdown Editor and Viewer

Latest version **1.22.0** (published 2025-02-12) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.22.0 |
| Published | 2025-02-12 |
| First published | 2020-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 19 |
| Unpacked size | 3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1378 |
| Author | Rongjian Zhang |
| Maintainers | pd4d10 |
| Keywords | markdown, editor, viewer |

## Links

- npm: https://www.npmjs.com/package/bytemd
- Repository: https://github.com/bytedance/bytemd
- Homepage: https://github.com/bytedance/bytemd#readme
- Issues: https://github.com/bytedance/bytemd/issues
- npm.io page: https://npm.io/package/bytemd

## Dependencies (19)

- [vfile](https://npm.io/package/vfile.md) ^5.3.7
- [unified](https://npm.io/package/unified.md) ^10.1.2
- [tippy.js](https://npm.io/package/tippy.js.md) ^6.3.7
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.17.21
- [rehype-raw](https://npm.io/package/rehype-raw.md) ^6.1.1
- [word-count](https://npm.io/package/word-count.md) ^0.2.2
- [@types/hast](https://npm.io/package/@types/hast.md) ^2.3.4
- [@types/mdast](https://npm.io/package/@types/mdast.md) ^3.0.11
- [remark-parse](https://npm.io/package/remark-parse.md) ^10.0.1
- [select-files](https://npm.io/package/select-files.md) ^1.0.1
- [remark-rehype](https://npm.io/package/remark-rehype.md) ^10.1.0
- [@popperjs/core](https://npm.io/package/@popperjs/core.md) ^2.11.7
- [codemirror-ssr](https://npm.io/package/codemirror-ssr.md) ^0.65.0
- [rehype-sanitize](https://npm.io/package/rehype-sanitize.md) ^5.0.1
- [@types/lodash-es](https://npm.io/package/@types/lodash-es.md) ^4.17.7
- [rehype-stringify](https://npm.io/package/rehype-stringify.md) ^9.0.3
- [unist-util-visit](https://npm.io/package/unist-util-visit.md) ^4.1.2
- [@types/codemirror](https://npm.io/package/@types/codemirror.md) ^5.60.7
- [hast-util-sanitize](https://npm.io/package/hast-util-sanitize.md) ^4.1.0

## 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.22.0 (latest) — 2025-02-12
- 1.21.0 — 2023-03-30
- 1.20.2 — 2023-01-29
- 1.20.1 — 2023-01-29
- 1.20.0 — 2023-01-04
- 1.19.0 — 2023-01-03
- 1.18.0 — 2022-12-21
- 1.17.4 — 2022-10-14
- 1.17.3 — 2022-10-13
- 1.17.2 — 2022-07-21
- 1.17.1 — 2022-07-08
- 1.17.0 — 2022-07-06
- 1.16.0 — 2022-06-29
- 1.15.0 — 2022-05-17
- 1.14.0 — 2022-05-09
- … 57 more at https://npm.io/package/bytemd/versions

## README

# ByteMD

https://github.com/bytedance/bytemd

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