PGTables
Installation
npm i --save pgtables
Usage
const Table = ; // open a tableconst Users = 'Users'; // read single row from tableconst user = await Users;// if more than one row is returned, the function will throw an errorconsole; // update an entryuserdataName = 'def';await user; // insert a new entryconst newuser = await Users; // delete an entryawait newuser;