All Projects → Vizzuality → node-varnish

Vizzuality / node-varnish

Licence: BSD-3-Clause License
node.js implementation of the varnish telnet management protocol (https://www.varnish-cache.org/trac/wiki/ManagementPort)

Programming Languages

javascript
184084 projects - #8 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].