Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mafintosh/ble-swarm
Experimental swarm over bluetooth low energy
https://github.com/mafintosh/ble-swarm
Last synced: 18 days ago
JSON representation
Experimental swarm over bluetooth low energy
- Host: GitHub
- URL: https://github.com/mafintosh/ble-swarm
- Owner: mafintosh
- License: mit
- Created: 2015-04-27T01:38:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-12T11:44:17.000Z (over 9 years ago)
- Last Synced: 2024-12-17T15:47:40.548Z (28 days ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 62
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-peer-to-peer - ble-swarm
- awesome-peer-to-peer - ble-swarm
README
# ble-swarm
Experimental swarm over bluetooth low energy
```
npm install ble-swarm
```## Usage
``` js
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