{"library":"wtfnode","type":"library","category":null,"description":"wtfnode is a utility designed to help Node.js developers diagnose why their applications are not exiting gracefully. It provides enhanced and human-readable insights into active event loop handles, such as timers, sockets, and servers, which prevent a Node.js process from terminating. Leveraging Node's internal `process._getActiveHandles()`, wtfnode breaks down complex handle information into actionable details, including call site origins for listeners, making it easier to pinpoint the exact code keeping a program alive. The current stable version, 0.10.1, functions as a crucial diagnostic tool for stalled applications, differentiating itself from raw Node.js introspection by offering a higher-level, more interpretable view of the event loop. Its release cadence is driven by the community's need for robust debugging solutions for persistent processes.","language":"javascript","status":"active","version":"0.10.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install wtfnode","imports":["const wtf = require('wtfnode');","wtf.dump();","wtf.dump({ fullstacks: true });"]},{"cmd":"yarn add wtfnode","imports":[]},{"cmd":"pnpm add wtfnode","imports":[]}],"homepage":null,"github":"https://github.com/myndzi/wtfnode","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/wtfnode","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/wtfnode/compatibility"}}