1
0
Fork
You've already forked docube
0
No description
  • TypeScript 100%
2026年05月07日 11:28:17 +08:00
.changeset release: bump version 2026年01月18日 14:35:28 +08:00
.husky chore: replace eslint with oxlint 2025年10月10日 15:03:52 +08:00
packages fix: changeset publish not expand workspace dependencies 2026年01月20日 20:04:43 +08:00
.gitattributes feat: support rehype plugins 2024年08月18日 17:36:21 +08:00
.gitignore feat: init nextjs example 2024年08月19日 09:53:58 +08:00
.prettierignore style: format code and setup prettier 2024年08月15日 15:18:53 +08:00
.prettierrc style: format code and setup prettier 2024年08月15日 15:18:53 +08:00
bun.lock chore: upgrade effect to 3.21.2 2026年05月07日 11:28:17 +08:00
LICENSE feat: init orgmode support 2024年08月15日 15:09:12 +08:00
package.json chore: upgrade effect to 3.21.2 2026年05月07日 11:28:17 +08:00
README.org docs: add a brief introduction for each package 2024年09月10日 11:24:12 +08:00
turbo.json chore: replace eslint with oxlint 2025年10月10日 15:03:52 +08:00

Docube

Docube is a libre content SDK that validates and transforms your any content into any format. By default, it converts text into type-safe JSON data that you can easily import into your application's pages.

Workflow

graph TD
 A[Loader] -->|Array of FileLike| B{Split Process}
 B -->|Optional| C[ModuleResolver]
 B -->|Main| D[FileConverter]
 D -->|FileLike| E[Writer]
 E --> F[End]
 subgraph "Per FileLike"
 D
 E
 end

Packages

docube
The core package which contains crucial class definitions.
common
Common implementations for transforming content into type-safe JSON.
markdown
Collects markdown documents and transforms them into JSON.
mdx
Collects MDX documents and transforms them into JSON.
org
Collects org-mode documents and transforms them into JSON.