Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

peer-cdn

Build Status codecov npm version license Beerpay Beerpay

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:

  • add more tests
  • resolve browser support
  • create web pack plugin
  • improve signalling server

Contribution

Is peer-cdn library missing something ?

No problem! Simply fork this repository and create pull request.

Instaliation

npm install --save peer-cdn

License

The code is available under the MIT license.

About

Lightweight library providing peer to peer CDN functionality

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /