Fix typo in node.js README

This commit is contained in:
Philipp Wahala 2016-09-07 20:22:51 +02:00
parent 83f5f393b6
commit dc9eded992
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ npm install grpc
To run the test suite, simply run `npm test` in the install location. To run the test suite, simply run `npm test` in the install location.
## API ## API
This library internally uses [ProtoBuf.js](https://github.com/dcodeIO/ProtoBuf.js), and some structures it exports match those exported by that library This library internally uses [ProtoBuf.js](https://github.com/dcodeIO/ProtoBuf.js), and some structures it exports match those exported by that library.
If you require this module, you will get an object with the following members If you require this module, you will get an object with the following members
@ -63,7 +63,7 @@ function loadObject(reflectionObject)
Returns the same structure that `load` returns, but takes a reflection object from `ProtoBuf.js` instead of a file name. Returns the same structure that `load` returns, but takes a reflection object from `ProtoBuf.js` instead of a file name.
```javascript ```javascript
function Server([serverOpions]) function Server([serverOptions])
``` ```
Constructs a server to which service/implementation pairs can be added. Constructs a server to which service/implementation pairs can be added.