pg-listen is a Node.js library that simplifies listening to PostgreSQL notifications via the LISTEN/NOTIFY mechanism. It enables real-time event handling by subscribing to PostgreSQL channels and reacting to database changes. pg-listen is ideal for applications needing real-time updates or inter-process communication.
Features
- Connects to PostgreSQL channels using LISTEN/NOTIFY
- Asynchronous event handling in Node.js
- Automatic reconnection and error handling
- Supports multiple listeners on different channels
- Lightweight with zero external dependencies
- Built-in logging and lifecycle management
Categories
DatabaseLicense
MIT LicenseFollow pg-listen
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pg-listen!