
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@electron-forge/core
Advanced tools
This module contains the core logic of Electron Forge and exposes the base API as a number of simple JS functions.
import { api } from '@electron-forge/core';
// Package the current directory as an Electron app
api.package(__dirname);
The named export api
has it's methods documented over at ForgeAPI.
All the methods are async and expose the core forge methods, please note that all
user-side configuration is still done through your forge config file or the "config.forge"
section of your package.json. This API simply let's you call the methods in
node land without using the CLI.
As all methods return a promise you should handle all rejections, you should note
that rejections will not always be errors, in fact we commonly reject our
promises with just strings so do not assume that properties such as stack
or
message
will exist on thrown errors.
FAQs
A complete tool for building modern Electron applications
The npm package @electron-forge/core receives a total of 148,081 weekly downloads. As such, @electron-forge/core popularity was classified as popular.
We found that @electron-forge/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.