New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@tago-io/sdk

Package Overview
Dependencies
Maintainers
4
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tago-io/sdk

TagoIO SDK for JavaScript in the browser and Node.js

npmnpm
Version
12.2.2
Version published
Weekly downloads
1.7K
-18%
Maintainers
4
Weekly downloads
 
Created
Source

TagoIO

TagoIO - JavaScript SDK

TagoIO provides easy connection of electronic devices with external data to drive smarter decisions using contextual analysis. Supports Node.js, Browser, Deno, and Bun environments.

Help

Official TagoIO SDK for JavaScript. Works across all major JavaScript runtimes and environments.

whatwhere
TagoIO websitehttps://tago.io
SDK documentationhttps://js.sdk.tago.io
General documentationhttps://docs.tago.io

Installation

Node.js & Bun

npm install @tago-io/sdk

Deno

deno add @tago-io/sdk

Quick Example

Insert Device Data

// ESM (recommended)
import { Device } from "@tago-io/sdk";

// CommonJS
// const { Device } = require("@tago-io/sdk");

const myDevice = new Device({ token: "00000000-2ec4-11e6-a77d-991b8f63b767" });

const myData = {
  variable: "temperature",
  location: { lat: 42.2974279, lng: -85.628292 },
  time: new Date(),
  unit: "C",
  value: 63,
};

async function sendMyData() {
  const result = await myDevice.sendData(myData);

  console.log(result);
  // 1 Data Added
}

async function getMyData() {
  const result = await myDevice.getData({ variables: ["temperature"], query: "last_item" });

  console.info("Current Temperature is:", result[0] ? result[0].value : "N/A");
  // Current Temperature is: 63
}

// -> See full documentation at: https://js.sdk.tago.io/

Runtime Compatibility

RuntimeESMCommonJSVersion
Node.js20+
Browser-Modern
Deno-2.0+
Bun1.0+

License

TagoIO SDK for JavaScript in the browser and Node.js is released under the Apache-2.0 License.

Keywords

tago

FAQs

Package last updated on 04 Dec 2025

Related posts