unomi-node-sdk
v1.2.1
Published
Node.js sdk for the Apache Unomi cdp
Downloads
49
Maintainers
Readme
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;