on-exit-leak-free is a lightweight Node.js package providing a reliable and leak-free way to execute cleanup tasks when your application exits, whether gracefully or due to an unhandled exception. It enhances the standard on-exit module by meticulously handling potential memory leaks, especially those arising from circular references in cleanup functions. This ensures a clean and predictable shutdown, preventing resource exhaustion and contributing to a more stable and robust application. Ideal for scenarios requiring guaranteed resource release on process termination.