Read/Write Library for PBG in Node.