Automic VaultAutomic Vault

brew

Install astgen with Homebrew

Generate AST in json format for JS/TS. Version 3.42.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install astgen

local Homebrew formula metadata

overview

Package summary

Generate AST in json format for JS/TS

Commands and aliases

  • astgen

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2026: joernio/astgen was archived and its README directed users to joernio/astgen-monorepo.
  • 2026: astgen-monorepo README documents independently versioned language generators and prefixed release tags.

Related projects

  • Joern is the code analysis platform named by the monorepo README as the consumer context for the AST generators.
  • javascript-astgen in the monorepo is the closest successor to the standalone JS/TS astgen package.
  • Other monorepo siblings include abap-astgen, dotnet-astgen, go-astgen, ruby-astgen, rust-astgen, and swift-astgen.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
astgencliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.42.0
manager updated
local dataok
upstreamcurrent
latest detectedv3.42.0

https://github.com/joernio/astgen

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:astgen
Version3.42.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/astgen
Homepagehttps://github.com/joernio/astgen
Repositoryhttps://github.com/joernio/astgen
Upstream docshttps://github.com/joernio/astgen#readme
LicenseApache-2.0
Source archivehttps://github.com/joernio/astgen/archive/refs/tags/v3.42.0.tar.gz
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameastgen
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment