Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

unomi-node-sdk

grootan91.2.1TypeScript support: included

Node.js sdk for the Apache Unomi cdp

unomi, apache, CDP, node-sdk, sdk

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;

LICENSE

Apache 2.0