Ganesh Rathinavel
1 min readDec 7, 2019

Introduction

Checking whether an Electron app is package or not could become tricky, this NPM package helps you with the same.

Initially, I created the “electron-is-packaged” NPM package as an internal utility for OpenMTP — Advanced Android File Transfer Application for macOS. It works well with the Electron React Redux Advanced Boilerplate and electron-react-boilerplate.

Follow the instructions to implement the the package inside your app.

Installation

$ npm install electron-is-packagedor $ yarn add electron-is-packaged

Usage

// Import ES6 way
import { isPackaged } from 'electron-is-packaged';
// Import ES5 way
const isPackaged = require('electron-is-packaged').isPackaged;
// Output: boolean

Contacts

Please feel free to contact me at ganeshrvel@outlook.com

More repos

License

electron-is-packaged | Get the Electron Application Package status is released under MIT License.

Copyright © 2018-Present Ganesh Rathinavel