create-hyperbook
v0.3.2
Published
Shared logic for creating new Hyperbook projects
Readme
create-hyperbook
Scaffolding Your First Hyperbook Project
Compatibility Note: Hyperbook requires Node.js version 20+. Please upgrade if your package manager warns about it.
With NPM:
npm create hyperbook@latestWith Yarn:
yarn create hyperbookWith PNPM:
pnpm create hyperbookWith Bun:
bun create hyperbookThen follow the prompts!
You can also directly specify the project name via the command line. For example, to scaffold a Hyperbook project named "my-documentation", run:
# npm 7+, extra double-dash is needed:
npm create hyperbook@latest my-documentation
# yarn
yarn create hyperbook my-documentation
# pnpm
pnpm create hyperbook my-documentation
# Bun
bun create hyperbook my-documentationCurrently supported template:
default- A basic Hyperbook project with sample content
You can use . for the project name to scaffold in the current directory.
What is Hyperbook?
Hyperbook is a tool for building interactive workbooks and documentation. It provides features like:
- Custom markdown directives for rich content
- Embedded code execution environments
- Multi-language support
- Interactive elements (Excalidraw, videos, alerts, and more)
- Built-in navigation and search
