🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@apio/sdk

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apio/sdk

NodeJS SDK for Apio IoT Platform

latest
Source
npmnpm
Version
4.1.0
Version published
Maintainers
4
Created
Source

@apio/sdk

NodeJS SDK for Apio IoT Platform.

Installation

npm i @apio/sdk

Usage

import Sdk, { Device } from '@apio/sdk'

const sdk = new Sdk({
  uri: 'platform-uri',
  apiKey: 'your-api-key'
})

const project = sdk.project('your-project-id')
const devices: Device[] = await project.device.findAll()

Cache

Sdk support Cache strategy. For enable it set cache property in configuration:

const sdk = new Sdk({
  uri: 'platform-uri',
  apiKey: 'your-api-key',
  cache: true // For default configuration. Otherwise: { ttl: number }
})

Keywords

apio

FAQs

Package last updated on 23 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts