Skip to content

Notion-to-site

Productivity & Wikis

A CLI tool that converts any Notion database into typed Markdown/MDX/JSON content for websites, generating TypeScript types from the database schema.

TypeScript Latest v0.1.0 · 2mo ago Security brief →

Features

  • Generates TypeScript types reflecting your Notion database schema
  • One‑command sync to produce structured markdown, MDX, or JSON with frontmatter
  • Supports all block types (text, images, tables, equations, toggles, etc.) preserving rich‑text formatting
  • Framework integrations for Astro and Next.js out of the box

Recent releases

View all 1 releases →
v0.1.0 New feature
Notable features
  • Full Notion block type support (equations, toggles, columns, tables, synced blocks)
  • Incremental sync via .nts-state.json
  • Parallel sync with configurable concurrency and output adapters for Markdown, MDX, JSON
Full changelog

First public release of notion-to-site.

Sync any Notion database to local markdown, MDX, or JSON files for use with any static site generator.

Features

  • Full Notion block type support (equations, toggles, columns, tables, synced blocks, and more)
  • Incremental sync via .nts-state.json
  • Parallel sync with configurable concurrency
  • Markdown, MDX, and JSON output adapters
  • SEO metadata extraction
  • Internal Notion link resolution
  • Image download and WebP conversion pipeline

Install

npm install -g notion-to-site

See README for quick start.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
9
Forks
2
Languages
TypeScript JavaScript
Downloads/week
4 ↓36%
NPM Maintainers
1 Single npm maintainer
Contributors
2
TypeScript
Types included ✓

Install & Platforms

Install via
npm

Beta — feedback welcome: [email protected]