Source: https://seerepo.com/r/mermaid-js/mermaid/built
Markdown source: https://seerepo.com/r/mermaid-js/mermaid/built.md
Description: mermaid is a TypeScript repo. It makes its content with js-yaml, markdown-table, sharp, dompurify, @braintree/sanitize-url, and 2 more.

# What is mermaid built with?

mermaid is a TypeScript repo. It makes its content with js-yaml, markdown-table, sharp, dompurify, @braintree/sanitize-url, and 2 more, validates its data with Ajv, and is tested with @playwright/test, Vitest, and jsdom. It has 232,641 written lines, with 505 test files.

Read on November 4, 2026, at commit 63333fd.

Repository: https://github.com/mermaid-js/mermaid

## Support (/)

### Content

- **[js-yaml](https://seerepo.com/uses/js-yaml)**: 1 file
- **markdown-table**: 1 file
- **sharp**: 1 file

### Testing

- **@playwright/test**: 47 files
- **Vitest**: 4 files

### Tools

- **globby**: 3 files
- **esbuild**: 2 files
- **monocart-coverage-reports**: 2 files
- **ESLint**: 1 file

## Support (packages/mermaid-layout-tidy-tree)

### Testing

- **Vitest**: 1 file

## Support (packages/mermaid-zenuml)

### Testing

- **Vitest**: 1 file

## Frontend (packages/mermaid)

### Styles

- **stylis**: 1 file

### Interface

- **roughjs**: 76 files
- **D3**: 55 files
- **dagre-d3-es**: 8 files
- **cytoscape**: 4 files
- **cytoscape-cose-bilkent**: 1 file
- **cytoscape-fcose**: 1 file
- **elkjs**: 1 file

## Support (packages/mermaid)

### Content

- **[dompurify](https://seerepo.com/uses/dompurify)**: 7 files
- **[js-yaml](https://seerepo.com/uses/js-yaml)**: 5 files
- **@braintree/sanitize-url**: 4 files
- **[katex](https://seerepo.com/uses/katex)**: 1 file
- **[marked](https://seerepo.com/uses/marked)**: 1 file

### Validation

- **[Ajv](https://seerepo.com/uses/ajv)**: 2 files

### Testing

- **Vitest**: 258 files
- **jsdom**: 5 files

### Tools

- **type-fest**: 5 files
- **ts-dedent**: 2 files
- **csstree-validator**: 1 file
- **json-schema-to-typescript**: 1 file
- **Prettier**: 1 file

### Other

- **dayjs**: 3 files
- **es-toolkit**: 3 files

## Support (packages/parser)

### Testing

- **Vitest**: 12 files

## Other repos with a similar stack

- [langgenius/dify](https://seerepo.com/r/langgenius/dify/built): js-yaml, sharp, elkjs, dompurify, katex, Ajv · [Compare](https://seerepo.com/compare/langgenius/dify/vs/mermaid-js/mermaid)
- [koala73/worldmonitor](https://seerepo.com/r/koala73/worldmonitor/built): js-yaml, D3, dompurify, marked, Ajv · [Compare](https://seerepo.com/compare/koala73/worldmonitor/vs/mermaid-js/mermaid)
- [different-ai/openwork](https://seerepo.com/r/different-ai/openwork/built): sharp, dompurify, katex, marked, Ajv · [Compare](https://seerepo.com/compare/different-ai/openwork/vs/mermaid-js/mermaid)
- [NousResearch/hermes-agent](https://seerepo.com/r/NousResearch/hermes-agent/built): js-yaml, D3, dompurify, katex · [Compare](https://seerepo.com/compare/mermaid-js/mermaid/vs/NousResearch/hermes-agent)
- [datawhalechina/hello-agents](https://seerepo.com/r/datawhalechina/hello-agents/built): D3, dompurify, katex, marked · [Compare](https://seerepo.com/compare/datawhalechina/hello-agents/vs/mermaid-js/mermaid)
- [anomalyco/opencode](https://seerepo.com/r/anomalyco/opencode/built): dompurify, katex, marked · [Compare](https://seerepo.com/compare/anomalyco/opencode/vs/mermaid-js/mermaid)

## Frequently asked questions

### What language is mermaid written in?

mermaid is written in TypeScript, with 232,641 written lines.

### Does mermaid have tests?

Yes. mermaid has 505 test files and is tested with @playwright/test, Vitest, and jsdom.

### Which repos have a stack like mermaid's?

The ones that share most of its stack: langgenius/dify, koala73/worldmonitor, and different-ai/openwork.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
