@0xsarwagya/ontoly-typescript
v1.3.5
Published
Pure JavaScript and TypeScript semantic model analyzer for Ontoly.
Maintainers
Readme
@0xsarwagya/ontoly-typescript
Responsibility
@0xsarwagya/ontoly-typescript owns the pure JavaScript and TypeScript Semantic
Model analysis. It uses the TypeScript Compiler API for both languages without
owning graph construction, framework analyzer registration, CLI behavior, or
MCP transport.
See the repository architecture map for package boundaries.
Installation
pnpm add @0xsarwagya/ontoly-typescriptAPI
analyzeTypeScriptProject(options)builds the pure ECMAScript Semantic Model..js,.jsx,.mjs,.cjs,.ts,.tsx,.mts, and.ctsdiscovery.- Serializable symbol, call, ESM/CommonJS import, export, and decorator facts.
sourceLanguageForPath(path)reports JavaScript or TypeScript provenance.
Example
import { analyzeTypeScriptProject } from "@0xsarwagya/ontoly-typescript";
const model = analyzeTypeScriptProject({ root: process.cwd() });Status
Stable v1.0.0 package. Public contracts are governed by the Software Graph specification and RFC process.
