typed-ipc
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Typed IPC

The most convenient way to use IPC in electron.

Still experimental

Why?

Because I love refactoring. What if I want to rename the listener or handler? With this module all you have to do is to press one button in VSCode: F2

Usage

For usage, see GUIDE.MD

Plans

  • [ ] Guide how to use with preload script (we don't have access to event renderer modules from electron with contextIsolation: true which is default)
  • [ ] REACT. Add lots of great hooks for more convenient work from react. I'm highly inspired by @apollo/client. That's why I call variables data that must be passed to event.
  • [ ] VSCode extension 🔥
  • [ ] Review guide style according to Prisma

How am I Using it

Please have a look at my Electron apps:

Why this?

I already have looked at this alternatives:

Package Sidebar

Install

npm i typed-ipc

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

16.8 kB

Total Files

12

Last publish

Collaborators

  • zardoy