Checks if the current environment is Deno.
Checks if the current environment is NodeJS.
Detects the environment and loads a module using either require
or import
.
The name or path to the module to load.
Returns a boolean that defines if the current environment supports dynamic imports.
Generated using TypeDoc
Checks if the current environment is a browser. NOTE: The current implementation assumes that if the environment is not NodeJS or Deno then it must be a browser.