🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

dgraph-js-native

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgraph-js-native

dGraph JS Native Client

0.0.7
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

dgraph-js-native

dGraph JS Native Client

The motivation behind this client is to eliminate performance bottleneck between NodeJS gRPC related libraries and dGraph by wrapping a native gRPC client (dgraph-tonic) and using in NodeJS. Thanks to powerful tools like neon it is relatively painless.

Installation

npm install dgraph-js-native --save
# or
yarn add dgraph-js-native

Usage

I am trying to keep the API contract as close to dgraph-js as possible, currently there is a notable difference in the client initialization code, where I abstracted out the client stub initialization.

TODO: Example

Benchmark

Benchmark Test Repo

Sponsor

Treelab

License

MIT

FAQs

Package last updated on 20 May 2020

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