Installation
npm install --save @types/browser-or-node
Summary
This package contains type definitions for browser-or-node (https://github.com/flexdinesh/browser-or-node).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browser-or-node.
index.d.ts
export const isBrowser: boolean;
export const isWebWorker: boolean;
export const isNode: boolean;
export function isJsDom(): boolean;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Jussi Kinnula.