New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@freik/electron-preload

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freik/electron-preload

Kevin Frei's Electron Renderer utility

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

electron-renderer

This exports a single "InitRender()" function that you must call in your renderer.js file. This is specifically to be used with the other 3 electron packages to make a bunch of common things easy to do in Electron.

To use them, do this:

yarn add @freik/elect-main-utils @freik/elect-render-utils @freik/electron-renderer @freik/web-utils

or

npm install @freik/elect-main-utils @freik/elect-render-utils @freik/electron-renderer @freik/web-utils

and then, in the renderer.js file, do this:

import { InitRender } from '@freik/electron-renderer';
InitRender();

And away you go! The other 3 components live here:

npm moduledescription
@freik/elect-main-utilsMain process helpers for the nodejs code
@freik/elect-render-utilsRender process helper code that lives on the React/www side of the world
@freik/web-utilsGeneral React helpers, plus some Recoil and FluentUI WWW controls and helpers

FAQs

Package last updated on 19 Jun 2023

Did you know?

Socket

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.

Install

Related posts