@mdwrk/lander-core
v0.1.3
Published
Portable compiler and diagnostics for product landing site content.
Readme
@mdwrk/lander-core
Content compiler and diagnostics
This package compiles lander content, validates it, derives breadcrumbs and internal links, and generates sitemap, robots, and llms.txt outputs.
Why
Use it when you need the compile-time logic behind a product lander without committing to a UI layer yet.
What
- Site definition helpers and validation.
- Compiled page metadata such as breadcrumbs, internal links, and word counts.
- Sitemap, robots.txt, and llms.txt generation.
Installation
Node.js 20.x through 22.x, matching the workspace engine contract in the root package manifest.
npm install @mdwrk/lander-core @mdwrk/lander-content-contractUsage
import { compileLanderSite, defineLanderSite } from "@mdwrk/lander-core";
const site = defineLanderSite({
product: {
name: "MdWrk",
slug: "mdwrk",
tagline: "Markdown workspace platform",
description: "Portable markdown authoring and publishing.",
category: "DeveloperTool",
canonicalUrl: "https://mdwrk.com",
},
pages: [],
});
const compiled = compileLanderSite(site);Related
- Packages index - family and package navigation
- Root README - repo overview
