which-platform
v1.1.1
Published
check if an enviromment is a nodejs or browser enviroment
Downloads
12
Maintainers
Readme
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());