sdorra/content-collections
Transform your content into type-safe data collections observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 97
- Release rhythm 77
- Longevity 72
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1014
- days_rel: 78
- days_push: 23
- n_releases_24m: 86
Adoption not part of the score
1185 stars · 52 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library that transforms markdown, MDX, and YAML content files into type-safe, validated data collections that can be imported directly into web apps. It integrates with frameworks like Next.js, Remix, SvelteKit, and Vite via adapters, with hot reloading and build-time preprocessing.
Use cases
- build a type-safe blog with markdown posts in Next.js
- import MDX content into SvelteKit without manual parsing
- validate frontmatter with schemas at build time
- transform and join content collections before they reach the app
- replace manual file fetching for docs or CMS content
- use markdown content in a Remix app with Vite
When to choose
- you want type-safe access to markdown/MDX content in a JS framework
- you need build-time validation of content frontmatter
- you want hot-reloading content without restarting your dev server
- you need to preprocess or transform content before use
When to avoid
- your content lives in a headless CMS with an API
- you need a full CMS with editing UI
- your framework has no adapter and you prefer integrated tooling
- you work outside the Node.js/JavaScript ecosystem
Facets
library · maturity active
parser serialization build-tool developer-tools web-development frontend developer-tools documentation markdown mdx type-safe content-layer nextjs sveltekit remix vite zod-validation static-content nodejs typescript web-server
2 sources
- readme: https://github.com/sdorra/content-collections · fetched 2026-08-28 · 71723a761be8
- registry_npm: https://registry.npmjs.org/content-collections · fetched 2026-08-29 · 7db0dcdb1feb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sdorra/content-collections | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="sdorra/content-collections")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem