Skip to content
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
lib
tests
LICENSE
README
package.json

README

A Beanstalk client utilising node.js
Tested for beanstalkd 1.4.6

INSTALL
=======

npm install nodestalker


USAGE
=====

Simple usage example:

var bs = require('../lib/beanstalk_client');
var client = bs.Client();

client.use('default').onSuccess(function(data) {
  console.log(data);

  client.put('my job').onSuccess(function(data) {
	console.log(data);
	client.disconnect();
  });
});


DOCUMENTATION
=============

Annotated source in the docs folder

TESTING
=======

Also there are some tests now.
Please make sure beanstalkd is running on the default settings.

To run all tests:

find tests/ | grep .js | xargs -n1 node


CREDIT
======

Depends on the yaml package by visionmedia.

https://github.com/visionmedia/js-yaml

Something went wrong with that request. Please try again.