@charmland/gem-compiler
v0.1.1
Published
Compile markdown and frontmatter into Gem's site document.
Readme
@charmland/gem-compiler
Compile Markdown and frontmatter into Gem's typed JSON site document.
Install
npm install @charmland/gem-compilerUsage
import { compileSite } from "@charmland/gem-compiler";
const site = await compileSite({ root: process.cwd() });The package exports compileSite, configuration helpers, Markdown helpers, and renderer types from @charmland/gem-compiler. Focused entrypoints are also available at @charmland/gem-compiler/markdown, @charmland/gem-compiler/config, and @charmland/gem-compiler/types.
See the Gem contract for the complete document schema and public API.
