An hxpipe clone in nodejs