A node.js connector to Varnish using the Varnish telnet management protocol.
varVarnish=require('node-varnish');varclient=newVarnish.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.
npm install node-varnish