skyway-siru-device
v0.0.5
Published
SkyWay IoT SDK room utility for device
Downloads
3
Readme
SiRu device
SkyWay IoT SDK room utility for device
snipet
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
$ npm install skyway-siru-device
API reference
Copyright. NTT Communications Corporation All Rights Reserved.