@molin.ai/rebrowser-cloudflare-puppeteer-core
Version:
A high-level API to control headless Chrome over the DevTools Protocol
12 lines • 346 B
JavaScript
/**
* @license
* Copyright 2020 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @internal
*/
export const isNode = !!(typeof process !== 'undefined' && process.version);
// @ts-expect-error WebSocketPair only exists in workerd
export const isWorkerd = typeof WebSocketPair !== 'undefined';
//# sourceMappingURL=environment.js.map