Skip to content
Snippets Groups Projects
Commit b5cfcf48 authored by Matej Kokol's avatar Matej Kokol
Browse files

updated README npm link

parent be63b27a
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ A client-side JavaScript library that can be used to interact with Data Broker's
Install the package via npm:
```
npm i spade-node-js-client
npm i @bavenir/spade-node-js-client
```
Link to project https://www.npmjs.com/package/@bavenir/spade-node-js-client
......@@ -18,7 +18,7 @@ Link to project https://www.npmjs.com/package/@bavenir/spade-node-js-client
Import the DataBroker class and create an instance with your configuration:
```
import { DataBroker } from 'data-broker-client';
import { DataBroker } from '@bavenir/data-broker-client';
const config = {
url: 'example.com',
......@@ -46,7 +46,7 @@ dataBroker.healthcheck().then((status) => {
Run a discovery on the Data Broker and return a list of items:
```
dataBroker.items('$').then((items) => {
dataBroker.discovery('$').then((items) => {
console.log(items);
});
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment