mongo-healthcheck

JSON →
library 2.0.1 ·javascript maintenance
verified Jun 7, 2026

A lightweight healthcheck function for Mongoose connections to MongoDB. Version 2.0.1 is the current stable release. It provides a simple synchronous check to determine if a Mongoose connection is ready, returning true if connected, false if not connected, or throwing an error on invalid input. It differs from more comprehensive healthcheck libraries by focusing solely on Mongoose and being minimal in dependencies. Release cadence is low; package has not been updated since 2019.