
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
quickpostgres
Advanced tools
An easy, beginner-friendly PostgreSQL database wrapper similar to quick.db.
async/await, .then())If you don't know about quick.db, quickpostgres also has:
You can easily install quickpostgres using your preferred package manager.
npm install quickpostgres
# or
yarn add quickpostgres
# or
pnpm add quickpostgres
Quickpostgres has similar (if not almost identical) syntax to quick.db. You can refer to their documentation if you are getting stuck.
Note: Quickpostgres is built on top of promises, meaning you need to resolve them first using
.then()orawaitto get their returned data.
// Import quickpostgres
const { Client } = require("quickpostgres");
// Create a new client using the default values on localhost
const dbUrl = "postgresql://postgres:<password>@localhost:5432/postgres";
const db = new Client(dbUrl);
(async () => {
// Connect to your client
await db.connect();
// Setting an object in the database:
await db.set("userInfo", { difficulty: "Easy" });
// => { difficulty: "Easy" }
// Pushing an element to an array (that doesn't exist yet) in an object:
await db.push("userInfo.items", "Sword");
// => { difficulty: "Easy", items: ["Sword"] }
// Adding to a number (that doesn't exist yet) in an object:
await db.add("userInfo.balance", 500);
// => { difficulty: "Easy", items: ["Sword"], balance: 500 }
// Repeating previous examples:
await db.push("userInfo.items", "Watch");
// => { difficulty: "Easy", items: ["Sword", "Watch"], balance: 500 }
await db.add("userInfo.balance", 500);
// => { difficulty: "Easy", items: ["Sword", "Watch"], balance: 1000 }
// Fetching individual properties
await db.get("userInfo.balance"); // => 1000
await db.get("userInfo.items"); // ["Sword", "Watch"]
// End the database connection
await db.end();
})();
For now, please use GitHub discussions if you need any support.
I may consider opening a Discord support server soon, but this is not guranteed.
You must adhere to the code of conduct when interacting within the quickpostgres repository.
If you spot a bug or you have a feature request, please open a GitHub issue, or if you'd like to write some code, you can open a pull request.
If you spot a security vulnerability, please contact me.
FAQs
An easy, beginner-friendly PostgreSQL database wrapper similar to quick.db.
The npm package quickpostgres receives a total of 23 weekly downloads. As such, quickpostgres popularity was classified as not popular.
We found that quickpostgres demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.