Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.55 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "opencode-parser",
"version": "2.0.1",
"description": "Parse any file in opencode. Supports PDF, DOCX, XLSX, PPTX, images with OCR, EPUB, HTML, XML, Markdown, Jupyter notebooks, CSV, TSV, ZIP, RAR, 7z, TAR, GZip, JSON, YAML, TOML, INI, and plain text. Detects format by magic bytes. Extracts text, tables, metadata, and exports to Markdown.",
"type": "module",
"main": "src/index.ts",
"files": [
"src"
],
"scripts": {
"test": "bun test",
"typecheck": "tsc --noEmit"
},
"keywords": [
"opencode",
"opencode-plugin",
"parser",
"file-parser",
"document-parser",
"pdf",
"docx",
"xlsx",
"csv",
"tsv",
"pptx",
"ocr",
"tesseract",
"epub",
"html",
"xml",
"markdown",
"ipynb",
"jupyter",
"zip",
"rar",
"tar",
"json",
"yaml",
"toml",
"ini",
"magic-bytes",
"document-extraction",
"table-extraction",
"markdown-export",
"llm-tool"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/TejasS1233/opencode-parser.git"
},
"dependencies": {
"@opencode-ai/plugin": "^1.0.0",
"@opencode/plugin": "^2.0.18",
"cheerio": "^1.0.0",
"jszip": "^3.10.1",
"mammoth": "^1.8.0",
"pdf-parse": "^1.1.1",
"tesseract.js": "^5.1.1",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.0.0",
"@opencode/plugin": "^2.0.18",
"@types/bun": "^1.4.2",
"@types/node": "^22.0.0",
"@types/pdf-parse": "^1.1.5",
"typescript": "^5.0.0"
}
}