npmgraph VS postgres

Compare npmgraph vs postgres and see what are their differences.

npmgraph

A tool for exploring NPM modules and dependencies (by npmgraph)

postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare (by porsager)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
npmgraph postgres
19 45
661 8,211
3.2% 1.6%
7.7 7.2
11 days ago 3 months ago
TypeScript JavaScript
MIT License The Unlicense
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.

npmgraph

Posts with mentions or reviews of npmgraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-08-17.
  • Node.js can now execute TypeScript files
    14 projects | news.ycombinator.com | 17 Aug 2025
    You don't think depending on dozens or even hundreds of NPM packages with a single maintainer is an issue?

    Just as an example, Express depends on 25 modules with a single maintainer.

    https://npmgraph.js.org/?q=express

    Obviously a router is a fraction of what's needed for any non trivial backend project.

  • Show HN: Time Travel with Your SQL
    4 projects | news.ycombinator.com | 10 Apr 2025
  • The Front End Treadmill
    10 projects | news.ycombinator.com | 20 Mar 2025
    It's not a frontend problem but a JS-ecosystem problem. Happens in the backend too.

    The JS landscape is an absolute mess where dependencies have dozens if not hundreds of other dependencies. As an example, this is the dependency graph of Platformatic (a Node framework based on Fastify):

    https://npmgraph.js.org/?q=platformatic#zoom=h

    Each of those dependencies could be abandoned at any moment. Even huge dependencies like Axios or Express seemed to have been abandoned at one point.

    And then each dependency is ruled by whatever their maintainers think is right. Just the other day a dependency I use in prod with aprox 25M downloads per week (React is aprox 26M) and used by 10M Github repos decided it was ok to drop support for Safari versions from about 3 years ago. It's just insane considering Safari has +50% mobile market share in the US.

  • Popular GitHub Action tj-actions/changed-files is compromised
    35 projects | news.ycombinator.com | 14 Mar 2025
    In recent years, it's started to feel like you can't trust third-party dependencies and extensions at all anymore. I no longer install npm packages that have more than a few transitive dependencies, and I've started to refrain from installing vscode or chrome extensions altogether.

    Time and time again, they either get hijacked and malicious code added, or the dev themselves suddenly decides to betray everyone's trust and inject malicious code (see: Moq), or they sell out to some company that changes the license to one where you have to pay hundreds of dollars to keep using it (e.g. the recent FluentAssertions debacle), or one of those happens to any of the packages' hundreds of dependencies.

    Just take a look at eslint's dependency tree: https://npmgraph.js.org/?q=eslint

    Can you really say you trust all of these?

  • JavaScript Fatigue Strikes Back
    3 projects | news.ycombinator.com | 1 Mar 2025
    NestJS is probably the closest thing to a Rails-like framework in JS. Also Platformatic by the creator of Fastify.

    Still, the dependency entanglement in JS is just crazy. This is the dependency graph of Platformatic:

    https://npmgraph.js.org/?q=platformatic#zoom=h

    AFAIK there's no JS framework that solved the whole thing and doesn't depend on other packages.

    I don't know why JS devs historically have an aversion to frameworks. Maybe the author of the article is right and this is caused by preventing heavy bloated JS apps in the browser.

    In any case, after 10 years of Node in the backend, I'm done with it.

  • The tragedy of trying to run an old node project
    8 projects | news.ycombinator.com | 19 Nov 2024
    Lots of people taking general pot shots at different languages and ecosystems.

    But OP was trying to install gatsby on a different node target. It's not some little library. These kinds of massive libraries break all the time: https://npmgraph.js.org/?q=gatsby

  • Rewriting Rust
    23 projects | news.ycombinator.com | 25 Sep 2024
    React and react-dom are peer dependencies (npmgraph lists them but doesn't graph them visually). The actual full installation command is: `npm install next@latest react@latest react-dom@latest`[1]. Even if you include react and react-dom, the dependency graph still looks tolerable to me: https://npmgraph.js.org/?q=next%4014.2.13%2C+react%4018.3.1%...

    [1] https://nextjs.org/docs/getting-started/installation#manual-...

  • Iso20022.js: Create payments in 3 lines of code
    2 projects | news.ycombinator.com | 5 Aug 2024
  • Panda CSS: build time and type-safe CSS-in-JS
    8 projects | news.ycombinator.com | 5 Feb 2024
    This looks a lot better than I expected.

    One thing that bugs me about this (and Tailwind) is the number of dependencies they pull in. Panda has 152 nodes (239, if you count their dev-dependencies)[0].

    Tailwind has 98 (594 if you count their dev-dependencies).

    I know they're only dev-dependencies, but still... I've got all of that code running on my machine, just to process CSS. I really don't love it.

    [0] https://npmgraph.js.org/?q=%40pandacss%2Fdev

  • List all dependencies from package-lock.json without npm: Vet my code!
    2 projects | /r/node | 28 Nov 2023
    This is what I came up with. I get 514. I got 496 here https://npmgraph.js.org/. I'm curious what you get using npm and/or yarn, or other tool.

postgres

Posts with mentions or reviews of postgres. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-08-17.
  • Node.js can now execute TypeScript files
    14 projects | news.ycombinator.com | 17 Aug 2025
    > What are you missing?

    Everything else needed to make a backend app.

    At the very least, Node should provide fundamental pieces like database drivers. Currently the best PG driver[1] depends on a single guy.

    Bun already provides its own PG driver [2] and Jarred has written they will keep investing into more built-in APIs.

    [1] https://github.com/porsager/postgres

    [2] https://bun.com/docs/api/sql

  • Coding exercise: database migration tool in nodejs
    3 projects | dev.to | 25 Sep 2024
    postgres driver
  • The Notifier Pattern for Applications That Use Postgres
    7 projects | news.ycombinator.com | 14 May 2024
    Great post!

    Postgres.js actually does this implicitly through a simple API[1] mimicking the postgres way, thereby using only a single dedicated connection for listening per process.

    Listen/notify is also super useful with triggers.

    [1] https://github.com/porsager/postgres

  • Neon Is Generally Available: Serverless Postgres
    6 projects | news.ycombinator.com | 15 Apr 2024
    I want to use this as a chance to bring attention to a GitHub issue that I think would help reduce friction for Neon:

    https://github.com/neondatabase/neon/issues/4989

    If the Neon driver were to allow us to easily pass in a localhost connection, the development and test experience would be easier. Perhaps Neon could swap to something like this internally: https://github.com/porsager/postgres.

    Having run a local dev environment connected to Neon and tests connected to Neon got in our way of adoption. We'd prefer to develop and run tests against a regular Postgres localhost database.

    To the PMs of Neon, put yourself in the shoes of a new developer thinking of giving Neon a try. What changes will I have to make to my code and my development workflow?

  • Drizzle is just as unready for prime-time as Prisma, what else is there?
    12 projects | /r/reactjs | 6 Dec 2023
    I'd push you to consider using postgres, slonik or similar for database queries. With these libraries, you just write SQL, but they perform input sanitization for you. So you can safely write:
  • Ask HN: If you were to build a web app today what tech stack would you choose?
    21 projects | news.ycombinator.com | 29 Oct 2023
  • PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno
    1 project | /r/hypeurls | 16 Oct 2023
    16 projects | news.ycombinator.com | 14 Oct 2023
    Thanks Pier! Your comment saved me some frustration here :-D

    https://github.com/porsager/postgres/discussions/627#discuss...

  • We migrated to SQL. Our biggest learning? Don't use Prisma ORM
    3 projects | news.ycombinator.com | 8 Oct 2023
    There's a core client interface here:

    - https://www.postgresql.org/docs/current/client-interfaces.ht...

    On what makes it postgres.js faster, from author himself:

    > it seems Postgres.js is actually faster than, not only pg, but of any driver out-there

    - https://github.com/porsager/postgres/discussions/627

    - https://porsager.github.io/imdbench/sql.html

  • Relational is more than SQL
    11 projects | news.ycombinator.com | 16 Sep 2023
    When viewed as a DSL for set theory, views, CTEs, set-returning functions, et al are indeed proper first-class query abstractions.

    When viewed through the lens of general purpose imperative or functional programming languages, it's easy to see how it can be seen as falling short.

    I'll admit much of the tooling and driver APIs leave a lot to be desired.

    Some tools do make good efforts though such as nested fragments in this driver.

    https://github.com/porsager/postgres#building-queries

What are some alternatives?

When comparing npmgraph and postgres you can also consider the following projects:

plv8 - V8 Engine Javascript Procedural Language add-on for PostgreSQL

MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.

formula - Web Component + Library for Zero Config Interactive and Reactive HTML5 forms

pg-promise - PostgreSQL interface for Node.js

unknown-pleasures - Visualize your microphone with Joy Division's pulsar.

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?