Browse Source

Updated README, finally pushed to npm

pull/3/head v0.0.1
Brett Langdon 14 years ago
parent
commit
0af3f62c8b
3 changed files with 11 additions and 2 deletions
  1. +5
    -1
      README.md
  2. +5
    -0
      lib/kestrelClient.js
  3. +1
    -1
      package.json

+ 5
- 1
README.md View File

@ -3,8 +3,12 @@ Node-Kestrel
This module contains Kestrel client, producer and consumer classes.
This module is NOT a wrapper around a Memcached Client, this a wrapper around all of the available commands for Kestrel using the net library.
## Installation
`npm install kestrel`
`npm install node-kestrel`
Not to be mistaken with `npm install kestrel`, two different modules.
## Usage
Check out the `examples` folder


+ 5
- 0
lib/kestrelClient.js View File

@ -20,6 +20,7 @@ var kestrel = function( options ){
}
}
ee2.call(this);
}
util.inherits(kestrel,ee2);
@ -58,6 +59,10 @@ kestrel.prototype.connect = function(){
function _createConnection(port, host, self){
var connection = net.connect(port,host);
connection.on('error', function(err){
console.dir(err);
});
connection.on('data', function(data){
_handleData(data,self);
self.emit('data', data);


+ 1
- 1
package.json View File

@ -1,5 +1,5 @@
{
"name": "kestrel"
"name": "node-kestrel"
, "version": "0.0.1"
, "description": "Kestrel client module for NodeJS"
, "homepage": "http://www.blangdon.com/"


Loading…
Cancel
Save