macOS
brew install astgenlocal Homebrew formula metadata
brew
Generate AST in json format for JS/TS. Version 3.42.0 via Homebrew; verified from local package data.
install
brew install astgenlocal Homebrew formula metadata
overview
Generate AST in json format for JS/TS
history
astgen is a Joern-related AST generator package for producing JSON AST output for JavaScript and TypeScript. The original standalone repository is now archived and points to joernio/astgen-monorepo.
The original joernio/astgen repository describes the package as generating AST in JSON format for JavaScript and TypeScript. GitHub now marks that repository archived, and its README directs future work to joernio/astgen-monorepo.
The replacement monorepo reframes astgen as a family of language-specific AST generators for the Joern code analysis platform. Its README lists ABAP, .NET, Go, JavaScript/TypeScript, Ruby, Rust, and Swift generators, each with its own build system, dependencies, tests, and release workflow.
Public adoption evidence is thin: the supplied facts show a Homebrew formula, while the original repository has a small public footprint. The package is best understood as a Joern ecosystem utility rather than a broad standalone developer tool.
Package users invoke the astgen executable to produce AST JSON for JavaScript/TypeScript workflows. In current upstream development, users should expect language-specific directories and prefixed release tags in the monorepo rather than all work happening in the archived standalone repository.
The interesting package-manager detail is the repository transition: a Homebrew package points at a historical standalone tool, while upstream now collects multiple AST generators under one monorepo with per-language releases and checksums.
That makes source provenance and release-tag selection more important than the package's public popularity.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
astgen | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/joernio/astgen
install metadata
| Package key | brew:astgen |
|---|---|
| Version | 3.42.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/astgen |
| Homepage | https://github.com/joernio/astgen |
| Repository | https://github.com/joernio/astgen |
| Upstream docs | https://github.com/joernio/astgen#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/joernio/astgen/archive/refs/tags/v3.42.0.tar.gz |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | astgen |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.