@anio-js-foundation/is-node Check whether we're running in a browser or node. import isNode from "@anio-js-foundation/is-node" // prints 'true' in node, otherwise 'false' console.log(isNode())