nodejs-postgresql-azure VS pg-promise

Compare nodejs-postgresql-azure vs pg-promise and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
nodejs-postgresql-azure pg-promise
1 17
74 3,414
- -
0.0 5.8
about 1 year ago 16 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nodejs-postgresql-azure

Posts with mentions or reviews of nodejs-postgresql-azure. We have used some of these posts to build our list of alternatives and similar projects.
  • Developing a CRUD Node.js Application with PostgreSQL
    1 project | dev.to | 9 Feb 2021
    { "name": "crud-nodejs-psql", "version": "1.0.0", "description": "Aplicação CRUD com Node.js & PostgreSQL", "main": "server.js", "scripts": { "dev": "nodemon", "lint": "eslint --ext .js,.html -f ./node_modules/eslint-friendly-formatter . --fix", "prepush": "npm run lint", "start": "node server.js" }, "keywords": [ "node.js", "javascript", "postgresel", "azure", "serverless", "azure-functions", "azure-devops", "azure-storage", "github-actions", "app-service", "express" ], "author": "Glaucia Lemos", "license": "MIT", "bugs": { "url": "https://github.com/glaucia86/nodejs-postgresql-azure/issues" }, "homepage": "https://github.com/glaucia86/nodejs-postgresql-azure#readme", "devDependencies": { "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.0.0", "eslint-plugin-import": "^2.20.1", "husky": "^4.2.3", "nodemon": "^2.0.2" }, "dependencies": { "cors": "^2.8.5", "dotenv": "^8.2.0", "eslint-friendly-formatter": "^4.0.1", "eslint-plugin-html": "^6.0.0", "express": "^4.17.1", "express-promise-router": "^3.0.3", "pg": "^7.18.2" } }

pg-promise

Posts with mentions or reviews of pg-promise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-26.
  • Planning projects ? Looking for help
    1 project | /r/webdev | 20 May 2023
    Personally with more time I would also use JavaScript so I can improve it. Last time I wrote something with Express and a database connection is a long time ago and not for work, only for my personal testing. But for JavaScript database connection to PostgreSQL I recommend pg-promise. That works like a charm.
  • Ask HN: Why are so many PHP projects moving to Node?
    6 projects | news.ycombinator.com | 26 Jan 2023
    I've always loved this project / product:

    https://github.com/outline/outline

    I think the guy who built it posts here. There's also pg-promise, a "Postgres interface for Node.js":

    https://github.com/vitaly-t/pg-promise

  • Which ORM do you prefer with nodejs/Typescript project and why ?
    2 projects | /r/node | 25 Jan 2023
    Raw pgPromise with string templating.
  • Is my health check endpoint good enough?
    4 projects | /r/node | 3 Jan 2023
    i do have a couple of them like websocket server using ws, bullmq for sending emails and postgres listen/notify to push data to websocket clients. Would you happen to have any ideas on how to go about these? I did some research
  • Help seeding a database with PG
    1 project | /r/learnjavascript | 17 Aug 2021
    Yes. You can also take at the pg-promise library. https://github.com/vitaly-t/pg-promise
  • What package do you guys use for postgres in node js?
    6 projects | /r/PostgreSQL | 20 Jun 2021
    Is there any difference to the named parameters already supported? https://github.com/vitaly-t/pg-promise#named-parameters
  • DenoDB
    15 projects | news.ycombinator.com | 17 Jun 2021
    During my years as a dev i have really started to dislike ORMs. They always fail in the end. SQL is universal, and transfers between languages and tech fields. This is why im pro-sql, and always try to avoid unnecessary abstractions.

    I have actually went back to writing pure SQL in files, and using those as params for whatever db engine i use, this makes it even possible to reuse the code in other projects (even its unlikely that you can use the exact same query, but just as a "it would work" in theory).

    For node based projects i have used and would probably still choose pg-promise (https://github.com/vitaly-t/pg-promise).

  • How to use PostgreSQL with Node?
    3 projects | /r/node | 14 Jun 2021
    Since I'm decent at writing SQL queries and I don't want to learn additional syntax to work with ORMs/query builders, I stay as close as possible to the database driver. pg-promise is an excellent library built on top of the Node.js driver for PostgreSQL. It's built with promises in mind, it's well-tested and typed.
  • 5 reasons to use MongoDB as a bootstrapper
    1 project | /r/SaaS | 12 May 2021
    dont believe me? look at how many open issues they have https://github.com/vitaly-t/pg-promise/issues
  • Building a SaaS in one week: How I built OnlineOrNot (Next.js/React, Tailwind, GraphQL, TypeScript)
    4 projects | /r/reactjs | 8 Mar 2021
    I just used pg-promise - it handles the connections for you, up to you to write the SQL.

What are some alternatives?

When comparing nodejs-postgresql-azure and pg-promise you can also consider the following projects:

formidable - The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.

Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

EmotionBadge - Rate your Github profile picture emotion using badges

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

azure-pipelines-monorepo - Example of a multi-pipeline monorepo with Azure Pipelines

Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

skale - High performance distributed data processing engine

postgres - Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare

agile-flush-vue-app - Use this app to collaboratively estimate the stories for the next sprint.

slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

Azure-Guide - Microsoft Azure Guide. Learn all about Microsoft Azure Tools, Services, and Certifications.

Mongoose - MongoDB object modeling designed to work in an asynchronous environment.