A Node.js module to download Electron release binaries and artifacts with caching and mirror support.
@electron/get is a Node.js library designed to download Electron release binaries and artifacts programmatically. It solves the problem of reliably fetching specific Electron versions and platform-specific files for development, testing, or distribution tooling. The module includes features like caching, mirror support, and progress tracking to streamline integration into build pipelines.
Electron application developers and tooling authors who need to automate the retrieval of Electron binaries for CI/CD, packaging, or local development environments.
Developers choose @electron/get for its official support from the Electron team, robust caching mechanism that avoids redundant downloads, and flexible configuration options including custom mirrors and artifact selection, which are essential for enterprise or restricted-network setups.
Download Electron release artifacts
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Maintained by the Electron team, ensuring compatibility with Electron releases and regular updates, as indicated by its integration into Electron's ecosystem tooling.
Caches downloads to platform-specific directories like ~/.cache/electron/ on Linux, eliminating redundant downloads and speeding up CI/CD pipelines.
Allows configuration of custom mirrors via options or environment variables such as ELECTRON_MIRROR, essential for corporate networks or regions with restricted access.
Includes built-in progress reporting and supports HTTP(S) proxies through environment variables, simplifying integration in various network environments without extra code.
Limited to downloading Electron artifacts, making it unsuitable for projects that need to fetch other types of files or binaries from diverse sources.
Relies on the external `got` library for HTTP requests, which can introduce version conflicts, additional bundle size, or breaking changes in tooling.
Cache directories are hardcoded to platform defaults with no straightforward API to customize or manage cache storage programmatically, limiting flexibility.