@carbon-platform/run-mode

Utility to determine the environment in which code is running

Usage no npm install needed!

<script type="module">
  import carbonPlatformRunMode from 'https://cdn.skypack.dev/@carbon-platform/run-mode';
</script>

README

run-mode

Docs located here