@jihuayu/aliyun-iot-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

aliyun-iot-sdk

🇹🇸 纯 TypeScript 实现,提供完整声明文件

Aliyun Server Side IoT SDK for Node.js.(阿里云 IoT 服务端 SDK)

使用示例

import { IoT } from 'aliyun-iot-sdk'

const iot = new IoT({
  accessKeyId: '<xxxxx>',
  accessKeySecret: '<xxxxx>',
  regionId: 'cn-shanghai'
})

iot.createProduct({
  ProductName: 'aliyun_iot_sdk_test',
  NodeType: 0,
  DataFormat: 0
})

API 列表

注意:下面的所有接口都已经实现,没有勾选是因为该接口的参数模型的声明还未完善,使用 TypeScript 时传参暂时可使用 as any 过度,后期会逐步完善。

Readme

Keywords

Package Sidebar

Install

npm i @jihuayu/aliyun-iot-sdk

Weekly Downloads

1

Version

0.0.10

License

MIT

Unpacked Size

91.7 kB

Total Files

9

Last publish

Collaborators

  • jihuayu