{"library":"postgres-wrapper","type":"library","category":null,"description":"A lightweight, zero-dependency wrapper around the `pg` (node-postgres) library for Node.js, providing simplified CRUD methods (`one`, `oneOrNone`, `any`, `many`, `none`) and automatic connection management via a single `POSTGRES_URL` environment variable. Version 1.0.4 is the latest stable release. It is designed for quick prototyping and small projects, with minimal API surface and no ORM features. Key differentiator: instant setup with environment variables, no configuration files required.","language":"javascript","status":"active","version":"1.0.4","tags":["javascript","pg","npm","postgres","simple","wrapper"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install postgres-wrapper","imports":["const pg = require('postgres-wrapper')","const object = await pg.one({ query, params })","const rows = await pg.any({ query, params })"]},{"cmd":"yarn add postgres-wrapper","imports":[]},{"cmd":"pnpm add postgres-wrapper","imports":[]}],"homepage":"https://github.com/stasandk/postgres-wrapper#readme","github":"https://github.com/stasandk/postgres-wrapper","docs":null,"changelog":null,"pypi":null,"npm":"postgres-wrapper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}