effect-mdx

Active Development

A robust, type-safe, and purely functional library for processing MDX content, built with the Effect-TS ecosystem.

TypeScriptEffect-TSMDXRemarkRehypeNode.js
Created: 8/8/2024

About This Project

effect-mdx is a comprehensive library for processing MDX (Markdown with JSX) content using Effect-TS. It provides a high-level API for parsing, compiling, and manipulating MDX files with robust error handling and composable asynchronous runtime.

Key features include: • Purely Functional: Built entirely with Effect-TS for robust error handling and composition • Service-Based Architecture: Uses Effect's Service pattern for easy testing and dependency management • Frontmatter-Aware: First-class support for parsing and validating YAML frontmatter • Extensible Compilation: Leverages the unified ecosystem (remark, rehype) for flexible MDX processing • Typed Errors: Custom, typed errors for predictable failure modes

The library supports both backend (Node.js) and frontend (browser/edge) use cases, making it perfect for static sites, documentation platforms, content pipelines, or interactive UIs that render MDX on the client.

Related Projects

Open project
Effect Patterns Hub
active
TypeScriptEffect-TSCommunity
Open project
Effect AI CLI
active
TypeScriptEffect-TSNode.jsOpenTelemetry
Open project
effect-notion
active
TypeScriptEffect-TSNode.jsNotion API

Interested in This Project?

Check out the source code, contribute to the development, or get in touch if you'd like to collaborate.