node-varnish

0.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    33
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    0
  • 0.2.0
    33
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i node-varnish

Weekly Downloads

27

Version

0.2.0

License

none

Last publish

Collaborators

  • cartodb