Wondering what’s next for npm?Check out our public roadmap! »

    @llkennedy/mercury
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.1 • Public • Published

    HTTP -> gRPC Client

    This is a client library for the mercury proxy system.

    HTTP Requests and WebSockets wrapped by the clients created by this library will be compliant with the assumptions and patterns laid out in that system.

    This is not at all required to use mercury, you can implement canonical JSON HTTP requests for gRPC endpoints trivially yourself, and the custom logic surrounding websockets -> gRPC streams isn't terribly complex (basically just "EOF" as a CloseSend equivalent), but it's designed to make life as easy as possible when using mercury and web-ui gRPC in general.

    Install

    npm i @llkennedy/mercury

    DownloadsWeekly Downloads

    6

    Version

    0.3.1

    License

    MIT

    Unpacked Size

    99.5 kB

    Total Files

    54

    Last publish

    Collaborators

    • avatar