No description
- TypeScript 100%
| .changeset | release: bump version | |
| .husky | chore: replace eslint with oxlint | |
| packages | fix: changeset publish not expand workspace dependencies | |
| .gitattributes | feat: support rehype plugins | |
| .gitignore | feat: init nextjs example | |
| .prettierignore | style: format code and setup prettier | |
| .prettierrc | style: format code and setup prettier | |
| bun.lock | chore: upgrade effect to 3.21.2 | |
| LICENSE | feat: init orgmode support | |
| package.json | chore: upgrade effect to 3.21.2 | |
| README.org | docs: add a brief introduction for each package | |
| turbo.json | chore: replace eslint with oxlint | |
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.