Catalog npm
Back to packageRELEASE DETAILS

1.3.5

npm

@0xsarwagya/ontoly-go

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

developer-toolsgogolangontolysemantic-modelsoftware-graphstatic-analysistree-sitter
Published7 Oct 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.3.5runtime
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": "e04fcad92a02231dfb063e1f86eeaf7e60e11016",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-go/-/ontoly-go-1.3.5.tgz",
  "fileCount": 7,
  "integrity": "sha512-kW96mTAsb1woZA0Eb+b9puuos7eP+TAaw0jnGhlZWR7Qyk1RAvumTXB7fQM9vLQbRt9B7UxxL+Pvmo2F4NqJGQ==",
  "signatures": [
    {
      "sig": "MEYCIQCrATYea9mH1wOvMlhKNQYd/bdZUk4HTtcOX6OoyG3onQIhALHvHEN8AIVr7iz6no93uopuCo792QZ9UtuM3zm6qj8N",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    },
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEUCIC6+awVIaQuTrv4k1agSwBwQelhBpbr4/c71TG8/YTOxAiEAqvkoNlq6RkMleBeRKhDGzJ4oz1W8uPG3kWk3TSvQEZc="
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-go@1.3.5",
    "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:559a1f67c03df0deb0f35e0288fd8a052f4462b404dec59d45dd8ae17f2d818c

Other collected versions

1.3.47 Oct1.3.34 Aug1.3.24 Aug1.3.14 Aug1.3.03 Aug1.2.01 AugView all collected versions →