Coder Social home page Coder Social logo

safouene1 / electron-vite-is-dev Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 77 KB

Check if Electron-Vite is running in development

Home Page: https://www.npmjs.com/package/electron-vite-is-dev

License: Apache License 2.0

JavaScript 74.59% TypeScript 25.41%
electron electron-vite

electron-vite-is-dev's Introduction

npm: electron-vite-is-dev

Author: Safouen Turki

Introduction

Check if the Electron-Vite Application is running in Development.

Problem

Electron-Vite does not offer support for "noteIntegration." Consequently, when launching in the development environment, utilizing the node process or relying on default Electron options like {isDev} or {isApp} during the rerender process may result in errors

How to use

Install
   npm i electron-vite-is-dev

or

 yarn add electron-is-packaged
Usage
// Import
import  {isDev} from 'electron-vite-is-dev';

// Import ES5 way
const isDev = require('electron-vite-is-dev').isDev;

// Output: boolean

Building from Source

Requirements: Node.js v6+, Git and npm

Contribute

Fork the repo and create your branch from master.
Ensure that the changes pass linting.
Update the documentation if needed.
Make sure your code lints.
Issue a pull request!

electron-vite-is-dev | Get the Electron-Vite Application Dev status is released under Apache 2.0 License.

Copyright © 2024-Present Safouen Turki

electron-vite-is-dev's People

Contributors

safouene1 avatar

Stargazers

Ayoub Abidi avatar ShahinRekik avatar  avatar  avatar

Watchers

 avatar  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.