Skip to content

Use url as connection string. Defaults removed.

Compare
Choose a tag to compare
@freeall freeall released this 25 Nov 10:54
· 3 commits to master since this release
  • You can now use url property as connection string.
  • The default host and port has been removed.
  • redis module has been upgraded to 1.0.0. It's still an old version of redis but I couldn't get the newer one to work easily

The way to use it now is

var redis = require('redis-eventemitter')({
  url: 'redis://foo:bar@some.host:6379'
});

but the old way still works

var redis = require('redis-eventemitter')({
  host: 'some.host',
  port: 6379
});