{"library":"slim-node-postgres","type":"library","category":null,"description":"Slim Node Postgres is a lightweight PostgreSQL database abstraction layer for Node.js that simplifies connection pooling and prepared statements. Version 4.0.1 provides a promise-based API with methods like query, execute, insert, getOne, getValue, and exists. It uses named parameters with @ syntax and returns typed results. Compared to raw pg or ORMs like Sequelize/TypeORM, it offers minimal overhead and easy setup for projects that need a simple, pool-managed client without full ORM features. Release cadence is sporadic; it has TypeScript definitions built in. Requires pg and its types as peer dependencies.","language":"javascript","status":"active","version":"4.0.1","tags":["javascript","postgres","database","abstract","pooling","promise","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install slim-node-postgres","imports":["import { SlimNodePostgres } from 'slim-node-postgres'","import { ExecuteResult } from 'slim-node-postgres'","import SlimNodePostgres from 'slim-node-postgres'"]},{"cmd":"yarn add slim-node-postgres","imports":[]},{"cmd":"pnpm add slim-node-postgres","imports":[]}],"homepage":"https://github.com/jakecyr/slim-node-mysql#readme","github":"https://github.com/jakecyr/slim-node-mysql","docs":null,"changelog":null,"pypi":null,"npm":"slim-node-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}