mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
26 lines
678 B
Markdown
26 lines
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).
|