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

    node-varnishpublic

    node-varnish

    A node.js connector to Varnish using the Varnish telnet management protocol.

    var Varnish = require('node-varnish');
     
    var client = new Varnish.VarnishClient('127.0.0.1', MANAGEMENT_PORT[, secret]);
    client.on('ready', function() {
        client.run_cmd('purge obj.http.X == test', function(){});
    });

    For more usage examples, see the tests.

    Install

    npm install node-varnish
    

    Dependencies

    Contributors

    Keywords

    none

    install

    npm i node-varnish

    Downloadsweekly downloads

    92

    version

    0.2.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar