affine-reader v2.4.0
affine-reader
This is a simple reader for the blocksuite YJS doc format. The main goal right now is to convert a random YJS doc into a markdown file.
Install
pnpm install affine-reader
Usage
The following will create a reader for a workspace and then get all the pages in that workspace.
Page markdown is available in .md
property.
const { getBlocksuiteReader } = require('affine-reader');
const reader = await getBlocksuiteReader({ workspaceId: 'workspace-id' })
const pages = await reader.getWorkspacePages(true);
4 days ago
26 days ago
28 days ago
28 days ago
1 month ago
1 month ago
1 month ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
8 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago