{"name":"when-exit","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/when-exit.git"},"description":"Execute a function right before the process, or the browser's tab, is about to exit.","license":"MIT","version":"2.1.5","type":"module","main":"dist/node/index.js","types":"./dist/node/index.d.ts","exports":{"node":"./dist/node/index.js","default":"./dist/browser/index.js"},"scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"node test/index.js","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["exit","catch","event","handle","hook","intercept","signal"],"devDependencies":{"@types/node":"^18.19.70","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"when-exit@2.1.5","gitHead":"b6f255cd6078fcca1593e7b6f7d211e2ab25a1b4","bugs":{"url":"https://github.com/fabiospampinato/when-exit/issues"},"homepage":"https://github.com/fabiospampinato/when-exit#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"53fa4ffa2ba4c792213fb6617eb7d08f0dcb1a9f","size":2811,"noattachment":false,"key":"/when-exit/-/when-exit-2.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/when-exit/download/when-exit-2.1.5.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/when-exit_2.1.5_1761691956889_0.02036148488677303"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-28T22:52:37.076Z","publish_time":1761691957076,"_source_registry_name":"default","_cnpm_publish_time":1761691957076,"dist-tags":{"latest":"2.1.5"}}