A minimal ORM for Node.js and PostgreSQL that provides a simple mapping layer between JavaScript objects and database tables. Current version 1.0.15, with no established release cadence (appears maintained by a single developer). Key differentiators: lightweight, no dependencies, straightforward API with support for basic CRUD operations, finders, and aggregations. However, it lacks migration support, query building flexibility, and active maintenance compared to alternatives like Sequelize or Knex. Suitable for small projects needing quick PostgreSQL integration.
npm install node-pg-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to PostgreSQL, defines a model, and performs basic CRUD operations.
Consider migration to a maintained ORM like Sequelize or Prisma.
Install @types/node-pg-orm if available, or define your own types.
Run 'npm install pg' alongside node-pg-orm.
Use Node 14 or lower, or switch to a modern ORM.
Run 'npm install pg' to add PostgreSQL driver.
Change the port in config or stop the other PostgreSQL service.
No dependency data recorded yet.