npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mizuka-wu/ipc-express

v0.4.3

Published

This package enables you to use the electron ipc like an express application without the http overhead.

Readme

ipc-express

English | 中文


English

Express-like IPC communication for Electron applications. Use the familiar Express API style in Electron's main process without HTTP overhead.

Features

  • 🚀 Express-like API - Familiar routing and middleware patterns
  • 📦 Dual Module Support - CommonJS and ES Module
  • 🔒 Type Safe - Full TypeScript support with generics
  • 📚 Well Documented - Comprehensive guides and API documentation
  • Zero HTTP Overhead - Direct IPC communication
  • 🎯 Modern Tooling - Built with Rolldown and TypeScript

Quick Start

Installation

pnpm add @mizuka-wu/ipc-express

Main Process

import { ipcMain } from 'electron';
import express from 'express';
import { IpcServer } from '@mizuka-wu/ipc-express/server';

const app = express();
const ipcServer = new IpcServer(ipcMain);

app.get('/api/users/:id', (req, res) => {
  res.send({
    id: req.params.id,
    name: 'John Doe'
  });
});

ipcServer.listen(app);

Renderer Process

import { ipcRenderer } from 'electron';
import { IpcClient } from '@mizuka-wu/ipc-express/client';

interface User {
  id: string;
  name: string;
}

const client = new IpcClient(ipcRenderer);

async function getUser() {
  const response = await client.get<User>('/api/users/1');
  console.log(response.data.name); // 'John Doe'
}

Documentation

License

MIT


中文

为 Electron 应用提供 Express 风格的 IPC 通信。在 Electron 主进程中使用熟悉的 Express API,无需 HTTP 开销。

特性

  • 🚀 Express 风格 API - 熟悉的路由和中间件模式
  • 📦 双模块支持 - CommonJS 和 ES Module
  • 🔒 类型安全 - 完整的 TypeScript 支持和泛型
  • 📚 文档完善 - 详细的指南和 API 文档
  • 零 HTTP 开销 - 直接 IPC 通信
  • 🎯 现代工具链 - 使用 Rolldown 和 TypeScript 构建

快速开始

安装

pnpm add @mizuka-wu/ipc-express

主进程

import { ipcMain } from 'electron';
import express from 'express';
import { IpcServer } from '@mizuka-wu/ipc-express/server';

const app = express();
const ipcServer = new IpcServer(ipcMain);

app.get('/api/users/:id', (req, res) => {
  res.send({
    id: req.params.id,
    name: '张三'
  });
});

ipcServer.listen(app);

渲染进程

import { ipcRenderer } from 'electron';
import { IpcClient } from '@mizuka-wu/ipc-express/client';

interface User {
  id: string;
  name: string;
}

const client = new IpcClient(ipcRenderer);

async function getUser() {
  const response = await client.get<User>('/api/users/1');
  console.log(response.data.name); // '张三'
}

文档

许可证

MIT


最后更新: 2024 年 3 月 19 日