@standardserver/shared

v0.8.0

Published

Readme

@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 here: GitHub Sponsors. Every bit helps! πŸš€

πŸ† Platinum Sponsor

πŸ₯ˆ Silver Sponsor

Generous Sponsors

Sponsors

Backers

With thanks to 37 past sponsors who helped get us here.

License

Distributed under the MIT License. See LICENCE for more information.