birpc
npmv4.2.0TypeScriptMessage 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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),birpc vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| birpcthis page | 0 | 6 | MIT | 22 days ago |
| @vitejs/devtools | 0 | 2 | MIT | 1 day ago |
| growly | 0 | 1 | MIT | 1 day ago |
| devframe | 0 | 14 | MIT | 1 day ago |
| @devframes/plugin-inspect | 0 | 1 | MIT | 1 day ago |
| @devframes/plugin-messages | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by birpc v4.2.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (12)
Used by
Popular packages that depend on birpc.
Next generation testing framework powered by Vite
UI for Vitest
Vite DevTools
Browser running for Vitest
Hub layer that orchestrates devframe docks, terminals, messages, and commands on any host.
Framework for building one portable devtool integration that runs in any viewer.
Relationship graph
Dependencies (left) and dependents (right) of birpc.
Frequently installed together
Simple yet powerful framework for building command-line apps.
Universal filesystem path utils
Missing ECMAScript module utils for Node.js
Structured diagnostic code library
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
Model Context Protocol implementation for TypeScript - Client package
Minimal H(TTP) framework built for high performance and portability.
Model Context Protocol implementation for TypeScript - Server package
<!-- automd:badges color=yellow codecov bundlephobia packagephobia -->
Native-ESM powered web dev build tool
A fast and minimal alternative to globby and fast-glob
Run multiple promise-returning & async functions with limited concurrency
Release history
15 releases in the last two years, typically about 24 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.2.0latest | 22 days ago | 25 KB | MIT |
| 4.1.0 | 1 month ago | 33 KB | MIT |
| 4.0.0 | 9 months ago | 23 KB | MIT |
| 3.0.0 | 9 months ago | 22 KB | MIT |
| 2.9.0 | 9 months ago | 48 KB | MIT |
| 2.8.0 | 10 months ago | 46 KB | MIT |
| 2.7.0 | 10 months ago | 37 KB | MIT |
| 2.6.1 | 11 months ago | 34 KB | MIT |
| 2.6.0 | 11 months ago | 34 KB | MIT |
| 2.5.0 | 1 year ago | 34 KB | MIT |
| 2.4.0 | 1 year ago | 32 KB | MIT |
| 2.3.0 | 1 year ago | 31 KB | MIT |
| 2.2.0 | 1 year ago | 31 KB | MIT |
| 2.1.0 | 1 year ago | 31 KB | MIT |
| 2.0.19 | 1 year ago | 28 KB | MIT |
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.
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.