0.6.5 • Published 2 months ago

feishu-docx v0.6.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Feishu Docx

Convert Feishu Docx into other formats (Markdown, HTML ...)

Visit https://github.com/longbridgeapp/feishu-pages to learn more.

Installation

yarn add feishu-docx

Usage

import { MarkdownRenderer } from 'feishu-docx'

// Load docx JSON from file
const docx = fs.readFileSync('test.json')
const render = new MarkdownRenderer(docx)
const text = render.parse();
const fileTokens = render.fileTokens;

Now fileTokens is:

{
  "TVEyb1pmWo8oIwxyL3kcIfrrnGd": {
      token: 'TVEyb1pmWo8oIwxyL3kcIfrrnGd',
      type: 'file',
  }
}

License

MIT

0.6.5

2 months ago

0.6.3

3 months ago

0.6.4

3 months ago

0.6.2

3 months ago

0.6.1

4 months ago

0.5.7

6 months ago

0.5.4

6 months ago

0.4.5

7 months ago

0.5.3

6 months ago

0.4.4

7 months ago

0.5.6

6 months ago

0.4.7

7 months ago

0.5.5

6 months ago

0.4.6

7 months ago

0.5.0

7 months ago

0.5.2

7 months ago

0.6.0

6 months ago

0.5.1

7 months ago

0.3.0

8 months ago

0.4.1

8 months ago

0.3.2

8 months ago

0.4.0

8 months ago

0.3.1

8 months ago

0.4.3

8 months ago

0.4.2

8 months ago

0.3.3

8 months ago

0.2.0

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago