Skip to content

A utility for NodeJS App with many useful features

Notifications You must be signed in to change notification settings

heliomarpm/helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Logo HELPER

CodeQL Publish

electron version typescript version

paypal url kofi url liberapay url license url

A utility for Electron with many useful features

Install

npm i @heliomarpm/electron-helper

How to use

import {is, helper} from '@heliomarpm/electron-helper'

API Is

  • is.windows()
    Verifies that it's running on the Windows OS.

  • is.linux()
    Verifies that it's running on the Linux OS.

  • is.macOS() aliases is.osx()
    Verifies that it's running on the Mac OS.

  • is.x86()
    Check if the processor architecture is ia32.

  • is.x64()
    Check if the processor architecture is x64.

  • is.arm()
    Check if the processor architecture is arm.

  • is.arm64()
    Check if the processor architecture is arm64.

  • is.dev()
    Check if you are running in developer mode

# (i.e.) Environment 'ELECTRON_IS_DEV' or not electron.app.isPackage.

Dev Dependencies

  • electron: Build cross platform desktop apps with JavaScript, HTML, and CSS

Resources for Learning Electron

Contributing

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

Donate

If you appreciate that, please consider donating to the Developer.

paypal url kofi url liberapay url github sponsors url

License

MIT © Heliomar P. Marques 🔝