JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q36451F
  • License MIT

The simplest way to build Electron apps.

Package Exports

  • electronify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (electronify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

electronify

Electronify

Patreon PayPal AMA Version Downloads Get help on Codementor

The simplest way to build Electron apps.

Electron is amazing! Electronify makes its usage simpler by reusing the same code snippets in common apps.

electronify

☁️ Installation

$ npm i --save electronify

📋 Example

const Electronify = require("electronify");

// Create the app
var app = Electronify(__dirname + "/app/index.html", {
    resizable: false
});

📝 Documentation

Electronify(path, options)

Creates a new browser window based on Electron.

Params

  • String path: The path to the HTML file.
  • Object options: An object representing the browser window options. It has the following defaults:
  • width (Number): The window width (default: 800).
  • height (Number): The window height (default: 600).

Return

  • ElectronApp The Electron app object extended with the following fields:
  • mainWindow (BrowserWindow): The browser window that was created.

😋 How to contribute

Have an idea? Found a bug? See how to contribute.

💰 Donations

Another way to support the development of my open-source modules is to set up a recurring donation, via Patreon. 🚀

PayPal donations are appreciated too! Each dollar helps.

Thanks! ❤️

💫 Where is this library used?

If you are using this library in one of your projects, add it in this list. ✨

  • magnesium—A terminal emulator based on Electron.
  • photon-browser—A tiny web browser based on Photon and Electron.

📜 License

MIT © Ionică Bizău