Skip to main content

Node.JS Interceptor


To begin the installation process, execute the following command:

npm install lunar-interceptor@1.1.x


The only required configuration is the LUNAR_PROXY_HOST environment variable. This variable should be set to the host or IP of Lunar Proxy, including the port it is listening on.

For example:

export LUNAR_PROXY_HOST="lunar-proxy:8000"

For more details and other configuration options, refer to our Configuration Guide


Import Lunar Interceptor into the application entry point at the beginning of the file.

# imports ...

# your code
Click me for guidance 😀