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

# JS/TS Transformation Scripts

To develop your transformation script in JavaScript or TypeScript, hotglue expects the following to be deployed to your connector's ETL environment:

1. `package.json`
2. Either `etl.js` or `etl.ts`

hotglue will first install the dependencies given by your `package.json` with:

```bash theme={null}
npm install
```

If your ETL includes a `etl.ts` file, we'll transpile it with:

```bash theme={null}
tsc etl.ts --module NodeNext --moduleResolution NodeNext --target ES2022
```

> Note that we transpile your Typescript file into ES2022

Finally, we'll run the (possibly transpiled) `etl.js` directly with:

```bash theme={null}
node etl.js
```
