@standardserver/shared
@standardserver/shared contains internal types and utilities shared across the @standardserver ecosystem — small helpers for arrays, objects, JSON, iterators, promises, queues, IDs, URIs, and more.
It has no runtime dependencies and works in any JavaScript environment. The package exists so the other @standardserver packages can share these building blocks without duplication; its API follows their needs and is not designed for direct use in applications.
Standard Server ships as a small ecosystem of packages:
| Package | Description |
|---|---|
@standardserver/core |
The shared contract: types, body parsing rules, validators, and SSE helpers |
@standardserver/fetch |
Fetch API adapter for browsers, workers, and other Fetch-based runtimes |
@standardserver/node |
Node.js HTTP and HTTP/2 adapter |
@standardserver/fastify |
Fastify adapter built on the Node.js adapter |
@standardserver/aws-lambda |
AWS Lambda adapter with response streaming |
@standardserver/peer |
Message-based adapter for WebSocket, MessagePort, and custom transports |
@standardserver/shared |
Internal utilities shared across the ecosystem |
Learn more
For the project overview and the public contract of the ecosystem, see the core documentation.
Sponsors
Like what we build over at middleapi? You can help keep it going through GitHub Sponsors or Open Collective. Every bit helps!
The screenshot API for developers |
We're hiring NYC based engineers |
MisskeyHQDecentralized microblogging SNS born on Earth |
Organization Sponsors
LN Markets |
Sponsors
Backers
With thanks to 36 past sponsors who helped get us here.
License
Distributed under the MIT License. See LICENCE for more information.
MisskeyHQ