@gabrielf's patches to make it work on node 0.10
v2.0.0 now