pg-mem is an in-memory PostgreSQL emulator for Node.js and TypeScript that allows you to simulate a Postgres database without a real server. It’s perfect for unit testing and development scenarios where spinning up a full database would be too heavy. pg-mem supports many Postgres features and is compatible with various ORMs like TypeORM and Sequelize.
Features
- In-memory emulation of PostgreSQL behavior
- Works with TypeORM, Sequelize, and pg driver
- Supports most PostgreSQL SQL syntax and features
- Ideal for fast, isolated unit testing
- No external dependencies or database server needed
- Supports schemas, relations, and transactions
Categories
DatabaseLicense
MIT LicenseFollow pg-mem
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pg-mem!