codegraph-typescript
TypeScript/JavaScript parser for CodeGraph - extracts code entities and relationships from TS/JS source files.
Features
- ✅ Parse TypeScript and JavaScript files (.ts, .tsx, .js, .jsx)
- ✅ Extract functions (including arrow functions, async functions)
- ✅ Extract classes and interfaces
- ✅ Track imports and exports
- ✅ Full integration with
codegraph-parser-api
Quick Start
use CodeGraph;
use CodeParser;
use TypeScriptParser;
use Path;
Supported Features
- Functions (regular, arrow, async, generator)
- Classes (including methods, properties, constructors)
- Interfaces
- Import/export statements
- TypeScript type annotations
- JSX/TSX syntax
License
Apache-2.0