{"library":"postgres-driver-service","type":"library","category":null,"description":"Postgres Driver Service v2.1.1 is a lightweight Node.js library that abstracts raw SQL queries into an automated service layer. It wraps the node-postgres (pg) Pool and provides methods like `find`, `insert`, `update`, and `delete` for common CRUD operations without writing SQL. Designed for fast prototyping and small-to-medium projects where full ORMs like Sequelize or TypeORM are overkill. The package ships TypeScript definitions, has a simple constructor, and follows a service-object pattern. Release cadence is irregular; last update in 2020. Key differentiator: automatic query generation from config objects, but lacks advanced features like migrations, connection pooling beyond pg, or SQL injection protections beyond parameterized queries.","language":"javascript","status":"maintenance","version":"2.1.1","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install postgres-driver-service","imports":["import { DriverService } from 'postgres-driver-service'","const { DriverService } = require('postgres-driver-service')","import type { DriverService } from 'postgres-driver-service'"]},{"cmd":"yarn add postgres-driver-service","imports":[]},{"cmd":"pnpm add postgres-driver-service","imports":[]}],"homepage":"https://github.com/asmahood/postgres-driver-service#readme","github":"https://github.com/asmahood/postgres-driver-service","docs":null,"changelog":null,"pypi":null,"npm":"postgres-driver-service","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}