JSPM

codeindex

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q62979F
  • License MIT

Persistent structural knowledge graph for codebases — MCP tools + CLI tree explorer

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (codeindex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    codeindex — npx wrapper

    Run codeindex without installing Go:

    npx codeindex init
    npx codeindex serve
    npx codeindex reindex
    npx codeindex status

    How it works

    On first run the wrapper downloads the pre-built Go binary for your platform from the GitHub releases page and caches it in node_modules/codeindex/.bin/. Subsequent invocations skip the download and execute the cached binary directly.

    Supported platforms:

    OS Architectures
    macOS arm64, amd64 (x64)
    Linux arm64, amd64 (x64)
    Windows arm64, amd64 (x64)

    Prerequisites

    codeindex requires ast-grep to be installed and available in your PATH:

    # macOS
    brew install ast-grep
    
    # Cargo
    cargo install ast-grep --locked
    
    # npm
    npm install -g @ast-grep/cli

    Cached binary location

    <npx cache>/codeindex/node_modules/codeindex/.bin/codeindex

    The binary is tied to the package version. Upgrading the package version will download a fresh binary.

    Manual install (alternative)

    go install github.com/01x-in/codeindex/cmd/codeindex@latest