@lvce-editor/ipc
TypeScript icon, indicating that this package has built-in type declarations

11.3.0 • Public • Published

Lvce Editor Ipc

Inter Process Communiction for use in Lvce Editor.

Usage

import { IpcParentWithElectronUtilityProcess } from '@lvce-editor/ipc'

const rawIpc = await IpcParentWithElectronUtilityProcess.create({
  path: '/test/utility-process.js',
})

const ipc = IpcParentWithElectronUtilityProcess.wrap(rawIpc)

ipc.send({
  jsonrpc: '2.0',
  method: 'readFile',
  params: ['/test/file.txt'],
})

Readme

Keywords

Package Sidebar

Install

npm i @lvce-editor/ipc

Weekly Downloads

6,003

Version

11.3.0

License

MIT

Unpacked Size

76.3 kB

Total Files

7

Last publish

Collaborators

  • levivilet