XiaoMi / galaxy-sdk-nodejs

Node.js SDK for Xiaomi Structured Datastore Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Galaxy Node.js SDK User Guide

  1. Install galaxy-sdk-nodejs locally
npm install . -g
  1. add /usr/local/lib/node_modules to NODE_PATH
export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules
  1. Run examples (you need to change the AppKey/AppSecret/endpoint in the example code)
node examples/basic.js (SDS)
node examples/emq-example.js (EMQ)

About

Node.js SDK for Xiaomi Structured Datastore Service

License:Apache License 2.0


Languages

Language:JavaScript 100.0%