0.2.5
Very basic gRPC implementation for Deno
Repository
Current version released
4 years ago
/x/grpc_basic
You probably should wait for more mature and standard aligned implementation beacuse:
- This lib doesn’t use Deno’s 1.9 HTTP/2 native bindings, but relies on JS implementation roughly ported from node-http2
- I’m not an expert in gRPC or HTTP/2, I just moved HTTP/2 frames around until it worked
- It was never meant for production use, only for fun and some integration tests and scripts
- I have no plans on implementing full gRPC spec
goals - keep it simple
- load proto files
-
server
unary calls -
client
unary calls - errors
-
server
server streams -
client
server streams - context deadlines
- calls metadata
- logging
todo
- remove all deno/node compatibility (Buffer, stream.Transform, etc)
- acquire more knowledge about http2 frames
maybe goals
-
*.d.ts
client/service codegen - builtin retries
non goals - gRPC bloat
- no TLS
- no client streams
- no bidirectional streams
- no load balancers
- no interceptors (revisit this later)