Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md with @grpc/grpc-js #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ and understand how to run and work with Dgraph.
Install using npm:

```sh
npm install dgraph-js grpc --save
npm install dgraph-js @grpc/grpc-js --save
# If you are using Typescript, you might also need:
# npm install @types/google-protobuf @types/protobufjs --save-dev
```

or yarn:

```sh
yarn add dgraph-js grpc
yarn add dgraph-js @grpc/grpc-js
# If you are using Typescript, you might also need:
# yarn add @types/google-protobuf @types/protobufjs --dev
```
Expand Down Expand Up @@ -93,7 +93,7 @@ The following code snippet shows just one connection.

```js
const dgraph = require("dgraph-js");
const grpc = require("grpc");
const grpc = require("@grpc/grpc-js");

const clientStub = new dgraph.DgraphClientStub(
// addr: optional, default: "localhost:9080"
Expand Down