Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cheton/is-electron
Detect if running in Electron.
https://github.com/cheton/is-electron
Last synced: 3 days ago
JSON representation
Detect if running in Electron.
- Host: GitHub
- URL: https://github.com/cheton/is-electron
- Owner: cheton
- License: mit
- Created: 2016-06-15T09:06:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T12:26:29.000Z (over 1 year ago)
- Last Synced: 2024-10-30T00:00:13.576Z (17 days ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 104
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-electron - is-electron - Detect if running in Electron. ![](https://img.shields.io/github/stars/cheton/is-electron.svg?style=social&label=Star) (Library / Check/Detect)
README
# is-electron [![build status](https://travis-ci.org/cheton/is-electron.svg?branch=master)](https://travis-ci.org/cheton/is-electron) [![Coverage Status](https://coveralls.io/repos/github/cheton/is-electron/badge.svg?branch=master)](https://coveralls.io/github/cheton/is-electron?branch=master)
[![NPM](https://nodei.co/npm/is-electron.png?downloads=true&stars=true)](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).