unomi-node
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Apache Unomi

Getting Stared

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

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

Connect to Unomi

You can connect to Unomi using the connect function:

import unomisdk from "unomi-node";
 
const unomi = unomisdk.connect({
  url: "http://localhost:8181",
  auth: {
    username: "karaf",
    password: "karaf"
  }
});
 
export default unomi;

From now, everytime we refer to the variable unomi, we're referring to the exported above Unomi instance. Continue reading on GitBook!

LICENSE

Apache 2.0

Dependencies (2)

Dev Dependencies (3)

Package Sidebar

Install

npm i unomi-node

Weekly Downloads

7

Version

1.0.1

License

Apache-2.0

Unpacked Size

47.3 kB

Total Files

30

Last publish

Collaborators

  • micheleriva