🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@typedown/core

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typedown/core

Compile markdown into typed, validated, serializable Typedown documents.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

@typedown/core

Core compiler for Typedown.

@typedown/core turns markdown into a typed, validated, serializable document tree. It handles frontmatter, directives, headings, excerpts, diagnostics, and plugin transforms.

Install

pnpm add @typedown/core zod

Example

import { compile } from "@typedown/core";
import { z } from "zod";

const doc = compile(source, {
  frontmatterSchema: z.object({
    title: z.string(),
  }),
});

Repo: https://github.com/ddoemonn/typedown

Keywords

markdown

FAQs

Package last updated on 18 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts