@freik/electron-preload
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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 module description
@freik/elect-main-utils Main process helpers for the nodejs code
@freik/elect-render-utils Render process helper code that lives on the React/www side of the world
@freik/web-utils General React helpers, plus some Recoil and FluentUI WWW controls and helpers

Readme

Keywords

none

Package Sidebar

Install

npm i @freik/electron-preload

Weekly Downloads

0

Version

0.1.0

License

Unlicense

Unpacked Size

6.83 kB

Total Files

5

Last publish

Collaborators

  • freik