stackgraph
stackgraph copied to clipboard
변수 의존성 관계도와 메타데이터를 정적 분석 및 시각화
project root: `/home/user/foo` ## before ``` vscode:file///home/user/foo/bar/baz.ts ``` ## after ``` vscode:file///bar/baz.ts ``` - [ ] make it configurable?
- resolves #33
make it easy to install stackgraph via npm
## Short-Term Goals - testing - [x] test individual steps - [x] test multi-file project - [x] #7 - documentation - project architecture - integration guide with stackflow - demo...
## Example implementation ```ts const resolveDynamicImportPath = (path: string) => resolve(import.meta.dirname!) + path.replace('@src', '/src') + '.tsx' const projectCache = new Project({ useInMemoryFileSystem: true, }) export const getRouteMappings = (resolveDynamicImport: (path:...