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:
npm install
If your ETL includes a etl.ts file, we’ll transpile it with:
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:
node etl.js