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

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow pg-listen

pg-listen Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pg-listen!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Database Software

Registered

2025-06-17