TypeScript type definitions for Hyperbook. This package provides all the core types used across the Hyperbook ecosystem, including:
- Configuration types for
hyperbook.jsonandhyperlibrary.json - Page and section navigation types
- Language and layout definitions
- Element and directive configuration types
- Glossary and frontmatter types
pnpm add @hyperbook/types
# or
npm i @hyperbook/typesimport type { HyperbookJson, Language, Navigation } from "@hyperbook/types";
const config: HyperbookJson = {
name: "My Documentation",
language: "en",
// ...
};