Initial version of nodejs integration

are you sure this is the API you want to expose? It doesn't look clean. Wouldn't you prefer to pass named parameters (JSON)?