UNPKG

repograph

Version:

Generate rich, semantic, and interactive codemaps with a functional, composable API for Node.js.

13 lines (10 loc) 381 B
import * as repograph_core from 'repograph-core'; import { FileContent, LanguageConfig } from 'repograph-core'; declare function processFileInWorker({ file, langConfig }: { file: FileContent; langConfig: LanguageConfig; }): Promise<{ nodes: repograph_core.CodeNode[]; relations: repograph_core.UnresolvedRelation[]; }>; export { processFileInWorker as default };