split-postgres-sql split postgres sql queries Install npm install split-postgres-sql Usage import splitPgSql from "split-postgres-sql"; const sqls = splitPgSql("select 1;select 2;"); // then sqls will be: // [ // 'select 1;', // 'select 2;' // ]