</>PackageGraphPackageGraph

birpc

npmv4.2.0TypeScript

Message based Two-way remote procedure call

Safe to adopt

Yes — birpc scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 22 days ago. 17 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 22 days ago. 17 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 25 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding birpc to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

25 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the birpc README.

import type { ServerFunctions } from './types'

const ws = new WebSocket('ws://url')

const clientFunctions: ClientFunctions = {
  hey(name: string) {
    return `Hey ${name} from client`
  }
}

const rpc = createBirpc<ServerFunctions>(
  clientFunctions,
  {
    post: data => ws.send(data),
Example truncated — see the full README.

birpc vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
birpcthis page06MIT22 days ago
@vitejs/devtools02MIT1 day ago
growly01MIT1 day ago
devframe014MIT1 day ago
@devframes/plugin-inspect01MIT1 day ago
@devframes/plugin-messages01MIT1 day ago

Dependencies

Declared by birpc v4.2.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (12)

@antfu/eslint-config ^9.3.0@antfu/ni ^30.5.0@types/node ^26.2.0@vitest/coverage-v8 ^4.1.10bumpp ^12.2.0eslint ^10.8.1tsdown ^0.22.14tsnapi ^1.2.0tsx ^4.23.11typescript ^6.0.3vite ^8.2.1vitest ^4.1.10

Used by

Popular packages that depend on birpc.

Relationship graph

Dependencies (left) and dependents (right) of birpc.

Frequently installed together

Release history

15 releases in the last two years, typically about 24 days apart.

Recent versions of birpc
VersionPublishedSizeLicense
4.2.0latest22 days ago25 KBMIT
4.1.01 month ago33 KBMIT
4.0.09 months ago23 KBMIT
3.0.09 months ago22 KBMIT
2.9.09 months ago48 KBMIT
2.8.010 months ago46 KBMIT
2.7.010 months ago37 KBMIT
2.6.111 months ago34 KBMIT
2.6.011 months ago34 KBMIT
2.5.01 year ago34 KBMIT
2.4.01 year ago32 KBMIT
2.3.01 year ago31 KBMIT
2.2.01 year ago31 KBMIT
2.1.01 year ago31 KBMIT
2.0.191 year ago28 KBMIT

Overview

birpc is an npm package that message based Two-way remote procedure call. It has 6 known dependents in the graph. The latest version is 4.2.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need message based Two-way remote procedure call and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use birpc?

Yes — birpc scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 22 days ago. 17 releases in the last 2 years.

How do I install birpc?

Run `npm install birpc` to add birpc to your npm project.

What license is birpc released under?

birpc is distributed under the MIT license.

How popular is birpc?

npm does not publish download counts. Within PackageGraph's crawl, 6 known packages depend on birpc.

Is birpc still maintained?

The most recent release of birpc (v4.2.0) was published 22 days ago.

Does birpc run install scripts?

No. birpc does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.