@sidneys/is-main-process

Check whether we are in an Electron main process context

Usage no npm install needed!

<script type="module">
  import sidneysIsMainProcess from 'https://cdn.skypack.dev/@sidneys/is-main-process';
</script>

README

is-main-process

Check whether we are in an Electron main process context