Hi Günter,

Not tried it but I was just thinking of something simple like [1]. No doubt there are higher level libraries out there but I have not looked.
This would also work with BaseX REST (rest?run=..) but I like the ease of mapping urls on to code with RESTXQ.

/Andy

[1] http://stackoverflow.com/questions/33994908/while-creating-a-rest-api-in-node-how-can-i-stream-http-response-from-a-request

On 8 April 2016 at 12:52, kleist-digital <kleist@mail.dunzwolff.de> wrote:
Hi Andy,

I really don’t understand, what you mean with http interface to RESTXQ to connect Node and BaseX. Do you know any npms or libraries out there, to do this kind of http-interface?

Günter

> Am 04.04.2016 um 11:55 schrieb Andy Bunce <bunce.andy@gmail.com>:
>
> If I was looking to connect Node and BaseX now I would look at an http interface to RESTXQ, but this may not be the most performant, resource light option.