mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
801c5e7af3
Add TreeSitterPlugin using web-tree-sitter (WASM-based) to extract structural information from TypeScript and JavaScript files. The plugin implements the AnalyzerPlugin interface and extracts functions, classes, imports, exports, and call graphs via AST traversal. Uses web-tree-sitter instead of native tree-sitter for cross-platform compatibility (no native compilation required). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
455 B
JSON
22 lines
455 B
JSON
{
|
|
"name": "@understand-anything/core",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.1.0"
|
|
},
|
|
"dependencies": {
|
|
"tree-sitter-javascript": "^0.25.0",
|
|
"tree-sitter-typescript": "^0.23.2",
|
|
"web-tree-sitter": "^0.26.6"
|
|
}
|
|
}
|