UNPKG

@sparticuz/chromium

Version:

Chromium Binary for Serverless Platforms

9 lines (8 loc) 249 B
import { dirname, join } from "node:path"; import { fileURLToPath } from "node:url"; /** * Get the bin directory path for ESM modules */ export function getBinPath() { return join(dirname(fileURLToPath(import.meta.url)), "..", "..", "bin"); }