> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codemod.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Utilities

> Reusable @jssg/utils helpers for JavaScript, TypeScript, Java, and XML codemods.

`@jssg/utils` provides reusable helpers for JSSG codemods. Open the page for the language of the AST you are transforming.

## Installation

Add `@jssg/utils` to your codemod project:

```json package.json theme={null}
{
  "dependencies": {
    "@jssg/utils": "latest"
  }
}
```

## Languages

<CardGroup cols={2}>
  <Card title="JavaScript and TypeScript" href="/community/jssg/utils/javascript">
    Locate imports, match file style, and resolve bindings in JavaScript and TypeScript programs.
  </Card>

  <Card title="Java" href="/community/jssg/utils/java">
    Check imports and types, resolve visible declarations, and read anonymous class methods.
  </Card>

  <Card title="XML" href="/community/jssg/utils/xml">
    Find elements, read attributes, and measure indentation.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.