nuǝW pǝuoᴉʇᴉsoԀ ʎlǝʌᴉʇɐƃǝN
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    sfr-cdnpublic

    node-sfr-cdn

    API of the SFR CDN

    Usage with the binary

    sfr-cdn -l login -k key ping
    
    sfr-cdn -l login -k key purgeByRegex zone regex
    
    sfr-cdn -l login -k key purgeByUrl url
    
    sfr-cdn -l login -k key prefetchByUrl url
    

    Usage with node

    var CDN = require('sfr-cdn');
     
    var cdn = new CDN(login, key);
     
    cdn.ping(callback);
     
    cdn.purgeByRegex(zone, regex, callback);
     
    cdn.purgeByUrl(url, callback);
     
    cdn.prefetchByUrl(url, callback);

    Keywords

    none

    install

    npm i sfr-cdn

    Downloadsweekly downloads

    2

    version

    1.0.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar