Contentbase
JSON →Contentbase (v0.4.1) is an ESM-only TypeScript library that treats a folder of Markdown/MDX files as a typed, queryable database. Define models with Zod schemas for frontmatter validation, extract structured data from headings and lists, traverse parent/child relationships across documents, and query with a fluent API. It requires Node 18+ or Bun and ships with full TypeScript inference. Unlike static site generators or CMS tools, Contentbase provides an ORM-like experience directly on flat files without any database or build step.
Resources
packagecontentbase ↗