Skip to content

check if an environment is nodejs or browser environment

License

Notifications You must be signed in to change notification settings

ganeshkbhat/which-platform

Repository files navigation

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());

About

check if an environment is nodejs or browser environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published