https://github.com/nttcom/skyway-siru-device
SkyWay IoT SDK room utility for device
https://github.com/nttcom/skyway-siru-device
Last synced: about 2 months ago
JSON representation
SkyWay IoT SDK room utility for device
- Host: GitHub
- URL: https://github.com/nttcom/skyway-siru-device
- Owner: nttcom
- License: other
- Created: 2017-06-02T21:05:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T23:39:47.000Z (almost 8 years ago)
- Last Synced: 2025-10-26T18:52:45.184Z (5 months ago)
- Language: JavaScript
- Size: 98.6 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SiRu device
SkyWay IoT SDK room utility for device
## snipet
```javascript
const siru = new SiRuDevice('myroom')
siru.on('connect', () => {
siru.subscribe('presence')
siru.publish('presence', `${siru.myid}: hello world.`)
})
siru.get('/echo/:message', (req, res) => {
res.send(req.params.message)
})
```
# Install
## npm
```bash
$ npm install skyway-siru-device
```
# API reference
* [API reference - SiRu device](https://github.com/nttcom/skyway-iot-sdk/blob/master/docs/apiref/siru_device.md)
---
Copyright. NTT Communications Corporation All Rights Reserved.