You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a collection of carefully crafted TypeScript libraries.
They try to be as minimal, unbloated and convenient as possible.
They honor web standards for maximum compatibility cross-runtime, which makes most of them compatible with Deno, Node.js,
Bun and even browsers out of the box.
See table below for a list of available libraries and their features, compatibility, test coverage and playgrounds.
Straightforward API for both basic markdown and extended markdown rendering
Offer a dozen of plugins to add extended markdown features (headings anchors, frontmatter, code highlighting, math, mermaid diagrams, wiki links, etc.)
Support cleaning options to remove attributes, comments, XML doctype and processing instructions from output
Support flatten options to flatten node content when only attributes, text or nothing is present
Support reviving options to trim text, replace XML entities, revive booleans and numbers
Also support custom reviving function
Stringify JavaScript object to XML
Support formatting options to configure indentation and text break lines
Support replacing options to replace XML entities
Also support custom replacing function
Each package is versioned independently.
Releases are fully automated and are published on every push to the main branch.
Versioning follows SemVer rules.
If you include a significant part of it in your own project, you must keep the license notice with it, including the mention of the additional original authors if any.
Tip
Love these bytes? Consider ๐ sponsoring me, even one-time contributions are greatly appreciated!