HPub reader/writer for nodejs