pg-promise VS SheetJS js-xlsx

Compare pg-promise vs SheetJS js-xlsx and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
pg-promise SheetJS js-xlsx
17 61
3,415 34,479
- 0.6%
5.8 2.4
5 days ago 8 days ago
JavaScript JavaScript
MIT License Apache License 2.0
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.

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.

SheetJS js-xlsx

Posts with mentions or reviews of SheetJS js-xlsx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-28.
  • how to work with .xlsx files?
    7 projects | /r/node | 28 Jun 2023
    ExcelJS and XLSX (SheetJS) are great libraries to work with XLSX files. The former I've found a bit easier to work with but less efficient in general.
  • What kind of Programmer / language should I be looking for?
    3 projects | /r/AskProgramming | 4 May 2023
    Sure. I manipulate excel files programatically in the browser all the time. I don't really understand your exact workflow, but I use Javascript with xlsx and React.
  • Excel To Json ?
    1 project | /r/node | 16 Mar 2023
  • React App Won't Read xlsx File
    1 project | /r/react | 6 Mar 2023
    Looking at the xlsx documentation, to parse files in the browser, rather than readFile, you use read, which is designed to parse binary data directly, rather than read from disk. There are a bunch of different formats if you go to the XLSX NPM page and scroll down to "Acquiring and Extracting Data". Importantly, it seems the data must already be serialized, so a Blob won't work, but we can work with that.
  • We compete with GitHub. Bing does not show our website
    1 project | news.ycombinator.com | 9 Feb 2023
    Last year, Bing and Edge erroneously flagged our website https://sheetjs.com/ as "dangerous": https://i.imgur.com/BvA3zrk.png

    At the time, there was no "Safety Report" to indicate why Bing thought it was dangerous. The report page linked to https://www.bing.com/toolbox/bing-site-safety?url=https%3a%2... and it said "That web page doesn't exist"

    To fix it, we had to register with "Bing Webmaster Tools" (https://www.bing.com/webmasters/about) and raise a support ticket.

    Within a few days, the issue "resolved itself". It's possible that raising a ticket forced some automatic refresh of the indexed data for the domain.

  • Product Comparison App (JS Demo Project)
    7 projects | dev.to | 4 Feb 2023
    xlsx.
  • Ask HN: Who is hiring? (February 2023)
    14 projects | news.ycombinator.com | 1 Feb 2023
    SheetJS | https://sheetjs.com/ | Software Developer | Full time, Remote (US) | $165K - $240K

    We're a bootstrapped company building open source solutions for spreadsheets and structured data. With over 1.5M unique monthly visitors, companies across the business world turn to us for challenging data processing problems. Over the last 10 years, we have pushed the boundaries of JavaScript and the web.

    In this role, you will master new and established technologies while working on high-impact projects used by millions of people across the world. Balancing research and engineering, you will design and implement creative solutions that draw from your academic and professional experience.

    https://sheetjs.com/careers/ more details

  • Help to draw graph in reactjs from data in excel sheet
    1 project | /r/programminghelp | 22 Jan 2023
  • PDF, Excel, Docx generate on React and Node js
    3 projects | dev.to | 18 Jan 2023
    For more, you can visit xlsx documentation Link.
  • Active data pull from excel to html charts
    2 projects | /r/CodingHelp | 18 Jan 2023
    There are libraries like https://github.com/SheetJS/sheetjs to parse excel and https://www.chartjs.org/ for all kinds of charts/graphs. Not really much HTML involved here.. the markup gets generated by the chart library.

What are some alternatives?

When comparing pg-promise and SheetJS js-xlsx you can also consider the following projects:

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

ExcelJS - Excel Workbook Manager

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.

HANDSONTABLE - JavaScript data grid with a spreadsheet look & feel. Works with React, Angular, and Vue. Supported by the Handsontable team âš¡

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.

Jspreadsheet CE - Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.

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

Luckysheet - Luckysheet is an online spreadsheet like excel that is powerful, simple to configure, and completely open source.

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

ag-Grid - The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript.

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

React Data Grid - Feature-rich and customizable data grid React component