Catalog npm
Back to packageRELEASE DETAILS

1.2.0

npm

@0xsarwagya/ontoly-go

Pure Go semantic model analyzer for Ontoly, powered by tree-sitter.

developer-toolsgogolangontolysemantic-modelsoftware-graphstatic-analysistree-sitter
Published1 Aug 2026
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

@0xsarwagya/ontoly-go

Pure Go semantic model analyzer for Ontoly, powered by tree-sitter.

Parses Go source files and produces a typed semantic model (GoProject) covering packages, structs, interfaces, functions, methods, imports, constants, variables, type aliases, and call expressions.

Usage

import { analyzeGoProject } from "@0xsarwagya/ontoly-go";

const project = analyzeGoProject({
  root: "/path/to/project",
  files: ["main.go", "server.go"],
});

console.log(project.structs);
console.log(project.functions);

License

AGPL-3.0-only

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
tree-sitter
Environment
{
  "local_name": "tree-sitter",
  "alias": false,
  "peer_metadata": null
}
^0.25.1runtime
tree-sitter-go
Environment
{
  "local_name": "tree-sitter-go",
  "alias": false,
  "peer_metadata": null
}
^0.25.0runtime
@0xsarwagya/ontoly-core
Environment
{
  "local_name": "@0xsarwagya/ontoly-core",
  "alias": false,
  "peer_metadata": null
}
1.2.0runtime
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.3.5development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.15.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "71a514b8ce325d88a63ef01a5a48520f70f3be1a",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-go/-/ontoly-go-1.2.0.tgz",
  "fileCount": 7,
  "integrity": "sha512-bIYMM860zjqe+42F8NhLxO8UcIYPTLvUJ8cGy/5hCJc2PV/IB8vTe576h8Q8bf8xyKP0gJuxFre89TVIsHiCgg==",
  "signatures": [
    {
      "sig": "MEQCIAGGP6g081lx1PPYWk7nmDHcb6cPI+9ZNXZG9xsQFYA4AiAR6uDsSn6b9V2ZQJrae76XHTPGJLsoGuXAV138I5KITw==",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-go@1.2.0",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 107484
}

Repository

PENDING
0xsarwagya/ontoly

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:3cfe77ce6801100b408caae6433246eddd71b8bd00377aa8eef24e39aed2ca7c

Other collected versions

1.3.57 Oct1.3.47 Oct1.3.34 Aug1.3.24 Aug1.3.14 Aug1.3.03 AugView all collected versions →