Nodejs version of RMT