nodejs version of nireader