Current collected state Current
Observed since 21 Oct, 09:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0xsarwagya/ontoly-go
Pure Go semantic model analyzer for Ontoly, powered by tree-sitter.
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.
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);
AGPL-3.0-only
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
tree-sitterEnvironment{
"local_name": "tree-sitter",
"alias": false,
"peer_metadata": null
} | ^0.25.1 | runtime |
tree-sitter-goEnvironment{
"local_name": "tree-sitter-go",
"alias": false,
"peer_metadata": null
} | ^0.25.0 | runtime |
@0xsarwagya/ontoly-coreEnvironment{
"local_name": "@0xsarwagya/ontoly-core",
"alias": false,
"peer_metadata": null
} | 1.2.0 | runtime |
tsupEnvironment{
"local_name": "tsup",
"alias": false,
"peer_metadata": null
} | ^8.3.5 | development |
vitestEnvironment{
"local_name": "vitest",
"alias": false,
"peer_metadata": null
} | ^3.0.0 | development |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^22.15.3 | development |
Source distribution
{
"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
}Observed since 21 Oct, 09:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:3cfe77ce6801100b408caae6433246eddd71b8bd00377aa8eef24e39aed2ca7c