Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@guildplanner.pro/electron-next
Advanced tools
Originally created by Leo Lamprecht, forked from v3.1.4.
This package lets you use Next.js for building the renderer of your Electron apps!
file://
protocol (which Electron uses to load your static assets in the renderer process) works properly with your Next.js bundle (generated by next export
).Install: npm i @guildplanner.pro/electron-next
In Main code of your Electron app:
import prepareRenderer from '@guildplanner.pro/electron-next';
app.on('ready', async () => {
// ...
await prepareRenderer('./renderer');
// ...
});
See Next.js example.
await prepareRenderer(<path>, <port>)
<path>
(string|object
): The path to the directory containing the renderer (relative to the app's root directory). If the paths for development
and production
aren't the same, this can be an object holding a development and a production key with their respective paths.<port>
(number
, optional, defaults to 8000
): Used for running Next.js in development.FAQs
Build Electron apps using Next.js
The npm package @guildplanner.pro/electron-next receives a total of 4 weekly downloads. As such, @guildplanner.pro/electron-next popularity was classified as not popular.
We found that @guildplanner.pro/electron-next demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.