A utility for Electron with many useful features
npm i @heliomarpm/electron-helper
import {is, helper} from '@heliomarpm/electron-helper'
-
is.windows()
Verifies that it's running on theWindows OS
. -
is.linux()
Verifies that it's running on theLinux OS
. -
is.macOS() aliases is.osx()
Verifies that it's running on theMac OS
. -
is.x86()
Check if the processor architecture isia32
. -
is.x64()
Check if the processor architecture isx64
. -
is.arm()
Check if the processor architecture isarm
. -
is.arm64()
Check if the processor architecture isarm64
. -
is.dev()
Check if you are running indeveloper mode
# (i.e.) Environment 'ELECTRON_IS_DEV' or not electron.app.isPackage.
- electron: Build cross platform desktop apps with JavaScript, HTML, and CSS
- electronjs.org/docs - all of Electron's documentation
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who already contributed to project!
Made with contrib.rocks.
That said, there's a bunch of ways you can contribute to this project, like by:
- 🪲 Reporting a bug
- 📄 Improving this documentation
- 🚨 Sharing this project and recommending it to your friends
- 💵 Supporting this project on GitHub Sponsors or Ko-fi
- 🌟 Giving a star on this repository
If you appreciate that, please consider donating to the Developer.