Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 583 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 583 Bytes

Apache Unomi Nodejs Sdk

Getting Stared

You can install the Apache Unomi Node.js SDK using npm or yarn:

npm install --save unomi-node-sdk
yarn add unomi-node-sdk

Connect to UnomiSdk

You can connect to UnomiSdk using the connect function:

import unomisdk from "unomi-node-sdk";

const unomisdk = unomisdk.connect({
  url: "http://localhost:8181",
  auth: {
    username: "karaf",
    password: "karaf"
  },
  elasticUrl: "http://localhost:9200"
});

export default unomisdk;

LICENSE

Apache 2.0