Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    simple-cdnpublic

    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);

    Keywords

    none

    install

    npm i simple-cdn

    Downloadsweekly downloads

    6

    version

    0.1.2

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar