simple-cdn

Simple CDN gives you HTTP(S) links to your CDN Servers. It cares about down servers

npm install simple-cdn
12 downloads in the last month

simple-cdn

Simple CDN gives you HTTP(S) links to your CDN Servers. It cares about down servers.

var simple = new SimpleCDN();
simple.addServer("http://dsakdlöasjdlkasdsjak.com");
simple.addServer("http://google.com", 301);
simple.addServer("http://house-of-code.org");
setInterval(function () {
    console.log(simple.getFullURL("test.jpg"));
}, 1000);
npm loves you