JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q36530F
  • 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 PayPal 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

// Dependencies
var 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.

Where is this library used?

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

License

MIT © Ionică Bizău