ble-swarm

1.0.3 • Public • Published

ble-swarm

Experimental swarm over bluetooth low energy

npm install ble-swarm

Usage

var swarm = require('ble-swarm')
var sw = swarm({
  uuid: '13333333333333333333333333333337' // must be a 16 bytes hex string
})
 
sw.on('peer', function (peer) {
  console.log('discovered new peer over bluetooth')
  process.stdin.pipe(peer).pipe(process.stdout)
})

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i ble-swarm

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • mafintosh
  • maxogden