Set your API key, then run an example with tsx:
export HUNTAPI_API_KEY="YOUR_API_KEY"
npx tsx examples/json.tsjson.ts— call the featured endpoint and print the JSON result.request.ts— call any path withrequest()and handle API errors.wait-for-job.ts— start an async job and wait for its result.