{"package":"when-exit","ecosystem":"npm","latest_version":"2.1.5","description":"Execute a function right before the process, or the browser's tab, is about to exit.","license":"MIT","homepage":"https://github.com/fabiospampinato/when-exit#readme","repository":"https://github.com/fabiospampinato/when-exit","downloads_weekly":4714174,"health":{"score":65,"risk":"moderate","breakdown":{"maintenance":15,"popularity":17,"security":25,"maturity":6,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.1.5","total_count":8,"recent":["1.0.0","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2022-02-08T21:14:56.072Z","last_published":"2025-10-28T22:52:37.076Z","dependencies_count":0,"dependencies":[]},"recommendation":{"action":"safe_to_use","issues":[],"use_version":"2.1.5","version_hint":null,"summary":"when-exit@2.1.5 is safe to use (health: 65/100)"},"requested_version":null,"_cache":"miss","_response_ms":919,"_powered_by":"depscope.dev — free package intelligence for AI agents"}