{"library":"postgres-semicolons","type":"library","category":null,"description":"Splits Postgres SQL strings into statements by semicolons, correctly handling string literals, dollar-quoting, nested comments, and identifiers. Version 0.1.2 is stable. Uses sticky RegExps for efficient parsing. Ships TypeScript types. Minimal alternative to full SQL parsers for statement splitting.","language":"javascript","status":"active","version":"0.1.2","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install postgres-semicolons","imports":["import { parseSplits } from 'postgres-semicolons'","import { nonEmptyStatements } from 'postgres-semicolons'","import { splitStatements } from 'postgres-semicolons'"]},{"cmd":"yarn add postgres-semicolons","imports":[]},{"cmd":"pnpm add postgres-semicolons","imports":[]}],"homepage":"https://github.com/neondatabase/semicolons#readme","github":"https://github.com/neondatabase/semicolons","docs":null,"changelog":null,"pypi":null,"npm":"postgres-semicolons","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}