0.0.5 • Published 6 years ago

skyway-siru-device v0.0.5

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

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.

0.0.5

6 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago