audreyt/node-webworker-threads — pull request #25 by senditu (2014-05-02 09:45:25+00:00)
Title: Updated to latest version of js-bson

Basic tests show that library is functioning as expected.

```javascript
//Test Code:

function fibo (n) {
return n > 1 ? fibo(n - 1) + fibo(n - 2) : 1;
}

function cb (err, data) {
process.stdout.write(" ["+ this.id+ "]"+ data);
this.eval('fibo(35)', cb);
}

var Threads= require('webworker-threads');

Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);
Threads.create().eval(fibo).eval('fibo(35)', cb);

var express = require("express");
var http = require("http");
var app = express();

(function () {
app.get("/", function(request, response) {
response.writeHead(200, { "Content-Type": "text/plain" });
response.end("We're still running!");
});

app.get("*", function(request, response) {
response.writeHead(404, { "Content-Type": "text/plain" });
response.end("404!");
});

http.createServer(app).listen(1234);
})();

/*
Output:

>node testy.js
[3]14930352 [5]14930352 [2]14930352 [4]14930352 [0]14930352 [6]14930352 [7]1493
0352 [1]14930352 [3]14930352 [5]14930352 [4]14930352 [0]14930352 [2]14930352 [6]
14930352 [7]14930352 [1]14930352 [3]14930352 [4]14930352 [5]14930352 [2]14930352
[6]14930352 [0]14930352 [7]14930352 [1]14930352 [3]14930352 [4]14930352 [5]1493
0352 [6]14930352 [0]14930352 [2]14930352 [7]14930352 [1]14930352 [3]14930352 [4]
14930352 [5]14930352 [0]14930352 [6]14930352 [7]14930352 [2]14930352 [1]14930352
[3]14930352 [4]14930352 [0]14930352 [6]14930352 [5]14930352 [7]14930352 [2]1493
0352 [1]14930352^C
*/
```