# @appport/transport-inprocess

> In-process AppPort transport.

Latest version **1.0.1** (published 2026-09-24) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @appport/transport-inprocess
pnpm add @appport/transport-inprocess
yarn add @appport/transport-inprocess
bun add @appport/transport-inprocess
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2026-09-24 |
| First published | 2026-09-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rkendel |

## Links

- npm: https://www.npmjs.com/package/@appport/transport-inprocess
- Repository: https://github.com/rkendel1/appport
- Homepage: https://github.com/rkendel1/appport#readme
- Issues: https://github.com/rkendel1/appport/issues
- npm.io page: https://npm.io/package/@appport/transport-inprocess

## Dependencies (3)

- [@appport/client](https://npm.io/package/@appport/client.md) 1.0.1
- [@appport/server](https://npm.io/package/@appport/server.md) 1.0.1
- [@appport/protocol](https://npm.io/package/@appport/protocol.md) 1.0.1

## Recent versions

- 1.0.1 (latest) — 2026-09-24
- 1.0.0 — 2026-09-21

## README

# @appport/transport-inprocess

The in-process transport: client and capability server in one process.

```ts
import { createInProcessTransport } from "@appport/transport-inprocess";

const transport = createInProcessTransport({
  server,
  identity: await server.identify({ transport: "inprocess", sessionId })
});
```

Used for tests, server-side execution, local-first applications and local
runtimes.

Envelopes are round-tripped through JSON by default, so in-process behaviour
matches the networked transports exactly — the difference between a test that
proves the protocol and one that proves a function call. Pass
`serialize: false` to skip it when you are measuring overhead rather than
conformance.

In-process execution grants no implicit trust: an identity is supplied the same
way as on any other transport.

---
_Source: https://npm.io/package/@appport/transport-inprocess · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
