Show HN: Samemark, a remark-parse compatible Markdown parser that is 10x faster
Category: devtools
Tags: markdown, parser, performance, streaming, remark, mdast
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 7)
Samemark is a Markdown parser that produces the same mdast as remark-parse with GFM but is 6–10x faster end-to-end, falling back to the real parser for unsupported extensions. It also offers an incremental streaming parser for chat UIs that avoids re-parsing the whole message on each token. The project is notable for its rigorous verification against micromark's output and its practical performance gains in real pipelines.
Target audience: frontend devs, backend devs, developers building chat UIs or static site generators
Repository: https://github.com/anzal1/samemark · JavaScript · MIT · 1 stars
View on Hacker News