Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grpc-server-js

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc-server-js

Pure JavaScript gRPC Server

  • 0.1.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
249
decreased by-37.12%
Maintainers
1
Weekly downloads
 
Created
Source

grpc-server-js

Current Version Build Status via Travis CI Dependencies belly-button-style

Pure JavaScript gRPC Server

Documentation

The goal is to be largely compatible with the existing Server implementation.

Features

  • Unary calls.
  • Streaming client request calls.
  • Streaming server response calls.
  • Bidirectional streaming calls.
  • Deadline and cancellation support.
  • Support for gzip and deflate compression, as well as uncompressed messages.
  • The only third party dependency is @grpc/grpc-js, which is used for some shared data structures.
  • No C++ dependencies. This implementation relies on Node's http2 module.
  • Supports the following gRPC server options:
    • grpc.http2.max_frame_size
    • grpc.keepalive_time_ms
    • grpc.keepalive_timeout_ms
    • All possible options and their descriptions are available here.

Public API Deviations from the Existing grpc.Server

  • Server.prototype.bind() is an async function.
  • The deprecated Server.prototype.addProtoService() is not implemented.
  • Server.prototype.addHttp2Port() is not implemented.

Useful References

Acknowledgement

This module is heavily inspired by the grpc native module. Some of the source code is adapted from the @grpc/grpc-js module.

Keywords

FAQs

Package last updated on 23 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc