@cheton/is-electron

Detect if running in Electron.

Usage no npm install needed!

<script type="module">
  import chetonIsElectron from 'https://cdn.skypack.dev/@cheton/is-electron';
</script>

README

is-electron build status Coverage Status

NPM

Detect if running in Electron.

Installation

npm install --save @cheton/is-electron

Usage

import isElectron from '@cheton/is-electron';

console.log(isElectron());

License

Copyright (c) 2016 Cheton Wu

Licensed under the MIT License.