1.0.10 • Published 5 months ago

thingsboard-api-client v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

thingsboard-api-client

Overview

This module centralize Thingsboard API, helps to integrate in your web client.

Contents

Installation

This is a Node.js module available through the npm.

npm i thingsboard-api-client@latest

Example

import { ThingsboardApiClient } from "thingsboard-api-client";

const client = new ThingsboardApiClient();

async function login() {
  const resp = (await client.loginEndpoint().login({
    username: "username",
    password: "password",
  })) as any;
}

login();

Test locally

Step 1 In new package, build and package the project into .tgz

npm run build && npm pack

Step 2 In consumer project, make sure delete node_modules and package-lock.json \ Add to package.json

{
  "dependencies": {
    "thingsboard-api-client": "file:../thingsboard-api-client/thingsboard-api-client-1.x.x.tgz"
  }
}

Re-install all dependencies

npm i

Changelog

Check the GitHub Release Page

License

MIT License

Copyright

© 2023, (@ttqteo)https://github.com/ttqteo

1.0.10

5 months ago

1.0.9

5 months ago

1.0.8

5 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago