@types/browser-or-node
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/browser-or-node

Weekly Downloads

4,532

Version

1.3.2

License

MIT

Unpacked Size

2.87 kB

Total Files

5

Last publish

Collaborators

  • types