A Nuxt/Vue plugin for gRPC-Web client streaming with automatic retry. Version 2.0.9, stable, provides simple API to subscribe to gRPC server-side streams with reconnection logic. Differentiator: designed specifically for Nuxt 2 / Vue 2 ecosystem, handles metadata and host configuration easily.
npm install nuxt-plugins-grpc-web-client-streamNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and use subscribeEvents to initiate a gRPC-Web client stream with callbacks for messages and unknown events.
Ensure you import grpc from '@grpc/grpc-js' and pass it as the 'grpc' property.
Initialize metadata with new grpc.Metadata() and pass it.
Use only with Nuxt 2 / Vue 2 projects.
Always prefix host with 'http://' or 'https://'.
Check error type: if (error && error.status) { ... }Ensure host is reachable and includes 'https://' or 'http://'.
Pass an object with 'service' key containing a valid gRPC service definition.
No dependency data recorded yet.