dgraph-js-native
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i dgraph-js-native

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

25 kB

Total Files

19

Last publish

Collaborators

  • lhr0909