网页 综合 更新时间 2026-11-13 16:35:22

Build cross-platform desktop apps with JavaScript, HTML, and CSS | Electron

自动蜘蛛 www.electronjs.org 正文约 3066 字
Electron embeds Chromium and Node.js to bring JavaScript to the desktop.
Electron apps run natively on macOS, Windows, and Linux across all supported architectures.
Electron is an open-source project under the OpenJS Foundation maintained by an active community of contributors.
Electron's bundled Chromium build ensures that your app has a stable rendering target with all the newest web platform features.
Electron releases major versions in lockstep with Chromium so you get security fixes as soon as they are available.
Use any package from the rich npm ecosystem, or write your own native add-on code to extend Electron.
Popular consumer and rock-solid enterprise apps use Electron to power their desktop experiences.
Electron takes care of the hard parts so you can focus on the core of your application.
Interact with your operating system's interfaces with Electron's main process APIs. Customize your application window appearance, control application menus, or alert users through dialogs or notifications.
Send out software updates to your macOS and Windows users whenever you release a new version with Electron's autoUpdater module, powered by Squirrel.
Use community-supported tooling to generate platform-specific tooling like Apple Disk Image (.dmg) on macOS, Windows Installer (.msi) on Windows, or RPM Package Manager (.rpm) on Linux.
Distribute your application to more users. Electron has first-class support for the Mac App Store (macOS), the Microsoft Store (Windows), or the Snap Store (Linux).
Automatically collect JavaScript and native crash data from your users with the crashReporter module. Use a third-party service to collect this data or set up your own on-premise Crashpad server.
With the power of modern Chromium, Electron gives you an unopinionated blank slate to build your app. Choose to integrate your favourite libraries and frameworks from the front-end ecosystem, or carve your own path with bespoke HTML code.
Electron Forge is a batteries-included toolkit for building and publishing Electron apps. Get your Electron app started the right way with first-class support for JavaScript bundling and an extensible module ecosystem.
If you want to figure things out for yourself, you can install the Electron package directly from the npm registry.
For a production-ready experience, install the latest stable version. If you want something a bit more experimental, try the prerelease or nightly channels.
Electron Fiddle lets you create and play with small Electron experiments. It greets you with a quick-start template after opening — change a few things, choose the version of Electron you want to run it with, and play around.
Save your Fiddle either as a GitHub Gist or to a local folder. Once pushed to GitHub, anyone can quickly try your Fiddle out by just entering it in the address bar.
Thousands of organizations spanning all industries use Electron to build cross-platform software.
The OpenJS Foundation | Terms of Use | Privacy Policy | Bylaws | Code of Conduct | Trademark Policy | Trademark List | Cookie Policy
访问原文 返回搜索 https://www.electronjs.org/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。