{"id":27716,"library":"electron-reactive-event-cli","title":"reactive-event-cli","description":"CLI tool for generating type-safe Electron IPC bindings. Current stable version 1.0.120 but migrated to reactive-event-cli. Automatically creates typed event handlers and payloads for Electron main/renderer communication, reducing boilerplate and runtime errors. Compared to electron-ipc or typed-ipc, this provides a codegen approach with React integration. Release cadence is irregular; last update was migration-related.","status":"renamed","version":"1.0.120","language":"javascript","source_language":"en","source_url":"https://github.com/GageSorrell/SorrellWm","tags":["javascript","CLI","type-safe","IPC","electron","react","typescript"],"install":[{"cmd":"npm install electron-reactive-event-cli","lang":"bash","label":"npm"},{"cmd":"yarn add electron-reactive-event-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add electron-reactive-event-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Renamed package; use reactive-event-cli instead.","wrong":"const { runCommand } = require('electron-reactive-event-cli')","symbol":"runCommand","correct":"import { runCommand } from 'reactive-event-cli'"},{"note":"This function generates type-safe IPC bindings.","wrong":"import { generateBindings } from 'electron-reactive-event-cli'","symbol":"generateBindings","correct":"import { generateBindings } from 'reactive-event-cli'"},{"note":"Default export is the CLI entry point.","wrong":"import cli from 'electron-reactive-event-cli'","symbol":"default","correct":"import cli from 'reactive-event-cli'"}],"quickstart":{"code":"import { runCommand } from 'reactive-event-cli';\n\nconst command = 'generate --watch';\nrunCommand(command).then(() => console.log('Done.'));","lang":"typescript","description":"This shows how to import and run the CLI programmatically to generate code."},"warnings":[{"fix":"Install reactive-event-cli instead: npm uninstall electron-reactive-event-cli && npm install reactive-event-cli","message":"Package renamed to reactive-event-cli. electron-reactive-event-cli is deprecated and will not receive updates.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Use dynamic import or CJS require if using CommonJS project.","message":"The CLI uses CommonJS internally; ESM imports may not work reliably.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use --dry-run flag to preview changes before applying.","message":"Codegen output overwrites files without confirmation by default.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Ensure proper Electron environment before running CLI.","message":"Requires Node.js 14+ and Electron main/renderer processes running.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.0.120':18 'approach':55 'automat':26 'bind':14 'boilerpl':38 'cadenc':60 'cli':4,5,25,70 'codegen':54 'communic':36 'compar':42 'creat':27 'current':15 'electron':12,34,45,75 'electron-ipc':44 'error':41 'event':3,24,29 'generat':8 'handler':30 'integr':58 'ipc':13,46,50,74 'irregular':62 'javascript':69 'last':63 'main/renderer':35 'migrat':20,67 'migration-rel':66 'payload':32 'provid':52 'react':57,76 'reactiv':2,23 'reactive-event-c':1,22 'reduc':37 'relat':68 'releas':59 'runtim':40 'safe':11,73 'stabl':16 'tool':6 'type':10,28,49,72 'type-saf':9,71 'typed-ipc':48 'typescript':77 'updat':64 'version':17","created_at":"2026-05-09T05:51:42.679964+00:00","updated_at":"2026-05-09T05:51:42.679964+00:00","problems":[{"fix":"npm uninstall electron-reactive-event-cli && npm install reactive-event-cli","cause":"Package renamed. Tried to require old package name.","error":"Cannot find module 'electron-reactive-event-cli'"},{"fix":"Run CLI from within an Electron project where main and renderer processes exist.","cause":"Running CLI outside Electron context (e.g., pure Node.js).","error":"Unsupported operation: Not implemented"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"reactive-event-cli","cli_version":null,"type":"library","homepage":"https://reactive-event.sorrell.sh","github":"https://github.com/GageSorrell/SorrellWm","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/electron-reactive-event-cli","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-09","next_check":"2026-08-07","install_tag":null}}