peer-cdn

Lightweight library providing peer to peer CDN functionality
Bundle size
┌────────────────────────────────────────────────────┐
│ │
│ Destination: lib/index.js │
│ Bundle size: 247.07 KB, Gzipped size: 72.45 KB │
│ │
└────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────┐
│ │
│ Destination: es/index.js │
│ Bundle size: 256.63 KB, Gzipped size: 73.71 KB │
│ │
└────────────────────────────────────────────────────┘
This is work in progress!
You can speed up the process of development. Check help wanted issues and contribute
Things to consider:
- peer matching algorithms (ways of improving - pick best direction to go from here, beta version keeps it simple - pick first)
- browser support WebRTC
- browser support
client.postMessage()
- media supported (there might be issues with range request)
For now I know there might be some issues with:
Next steps:
Contribution
Is peer-cdn library missing something ?
No problem! Simply fork this repository and create pull request.
Installation
npm install --save peer-cdn
License
The code is available under the MIT license.