wasm-metering
Version:
injects metering into webassembly binaries
26 lines (15 loc) • 678 B
Markdown
# is-electron [](https://travis-ci.org/cheton/is-electron) [](https://coveralls.io/github/cheton/is-electron?branch=master)
[](https://www.npmjs.com/package/is-electron)
Detect if running in Electron.
## Installation
```bash
npm install --save is-electron
```
## Usage
```js
import isElectron from 'is-electron';
console.log(isElectron());
```
## License
Copyright (c) 2016 Cheton Wu
Licensed under the [MIT License](LICENSE).