Skip to main content

Node/JavaScript

When working with the BigQuery Node client, route traffic through Yuki by setting the BIGQUERY_EMULATOR_HOST environment variable before your code runs:

export BIGQUERY_EMULATOR_HOST=https://<your-yuki-proxy>/bigquery/v2
info

The Node client needs the /bigquery/v2 suffix on the proxy address - this differs from the Python client, which doesn't require it.