GithubHelp home page GithubHelp logo

heliomarpm / helpers Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 517 KB

A utility for NodeJS App with many useful features

JavaScript 0.63% TypeScript 99.37%
cache cache-storage electron-app helpers library memory memory-storage node-js utility-library utils

helpers's Introduction

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 🔝

helpers's People

Contributors

dependabot[bot] avatar heliomarpm avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.