which-platform
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

which-platform

check if an environment (which-platform) is nodejs or browser environment

Demos can be found in the folder demos

USAGE:

const { isBrowser } = require("which-platform");
console.log(isBrowser());

Package Sidebar

Install

npm i which-platform

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

11.5 kB

Total Files

11

Last publish

Collaborators

  • ganeshkbhat