Proxies in Node.js
Replace LOGIN and PASSWORD with the values from your dashboard.

Example
import { ProxyAgent, fetch } from "undici";
const dispatcher = new ProxyAgent("http://LOGIN:PASSWORD@gate.lyraproxy.com:7000");
const res = await fetch("https://example.com/", { dispatcher });
console.log(res.status);
The built-in fetch in Node.js does not use a proxy on its own, so the request goes through ProxyAgent from the undici package.