{"_id":"perfect-debounce","_rev":"10-0f0891d46b918a3162a1a72011ace69e","name":"perfect-debounce","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.0":{"name":"perfect-debounce","version":"0.0.0","license":"MIT","_id":"perfect-debounce@0.0.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"dist":{"shasum":"6a272f6627cf841387e3f71632ccfda318d81b1c","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-0.0.0.tgz","fileCount":1,"integrity":"sha512-sl/CobAxFFHhkRrsFBjpDuWOK9LtYmXNhVH1zEjknBkIjdRhYDDL8ksNw7x0UtQpyPfezF6XFU1XcafBbsUAGA==","signatures":[{"sig":"MEYCIQCj69/LCHq9KlJa6gqobzCOrx3Py7cAMw+aITbhuSy4QgIhAOgFW8v+FaQ+B5CsozwxoNzwhzfotTW0crW0eARHMcDA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL5caACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMdg/8CNY7Lbnyu/YjA57NWXzGfrvFVlgIyMx5dWL+GE5Kx779pd1y\r\n85n0GhdLqzxT5UDK52FsbwaQQI/Zs253e+pXRpSuSEqJ9XfgG5fhdBA4jBkN\r\nGgxVtQqwhOTMMNoM8/vGJFsY8bXslKGvUdeQPCRGlwrW32CIARJJ5M3Ohq5h\r\nYbO7CQ3nLp/9rYkcvnCVlsBUt9mp17TVOJId5k/TJBHReJeqqPlOle9T2rnN\r\nH9nhXw0cOX8yd45d3atB5hqE96OqDpMN+n3fioi5iPjCxn4EirrHVrJk+r6k\r\nZyP0nZuWr2xOEc+i7XbamQrk6+V//PeaLMFDh96tu+nHd0jUNrXyX6uFlpTL\r\nhcD22HHU8UkZd75yYC0C22PiQJpf8Wbl6A51n1xVLWc1v/TaGCYaYaIKvn/j\r\nliAS93GSIoi8rS6pmY3UYVSuo5/R1m3Hvrhawvc0Fg+kgae2CeapSdEy1q1D\r\nGvaTBkut8ZFuFgDlVi2RKni8wAErl40Xo9W//wZ+Os/gE1hrMqTAk3yKwkYu\r\nZLQVAIw5m3ocPejubD/hnY9VejVg/DsWISHmuPutV7ErsD17g/gdfCSS9+cw\r\nnqnAAyveYeTWmLt4p/X/9HN8OuMJs/pxNDBUicxSdxOy1tF00p/cbQ8y8pkS\r\nTwhV+AB3AGprYsBw/eY76Lp2BsVKdc4dg+Y=\r\n=5+ul\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"_npmVersion":"8.3.1","directories":{},"_nodeVersion":"16.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_0.0.0_1647286042845_0.663483255153158","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"perfect-debounce","version":"0.0.1","license":"MIT","_id":"perfect-debounce@0.0.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/perfect-debounce#readme","bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"dist":{"shasum":"68dfd578fc3e523a0d9a0fcb727ca1fa0c741de6","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-0.0.1.tgz","fileCount":6,"integrity":"sha512-/fdDPw8Wjv7NkOfNYWB2OKYdKxWD8h0gEl9tfbNn3f80yn3h6xfINwJG4/mGLAIgaLA/SpgvhAipwtJOGQHUTw==","signatures":[{"sig":"MEYCIQCmz/THO5o5CnagnQSJe61f/4jrxx0LihQkwAous23bDgIhAMh9OWacl+1P0WJa4dfMWZ0mbKp+CwL+San12F94E+dR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMLEpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2PQ/8C3Z3o/t4Ugstqn5dRoO0vd2VlYIrzeRPYWSUFiJx8qRls0mJ\r\n87+OKg0l9JqfEm41EPfkdweoN3JXZ0HDtVfGgpdPXErnfCQdlnh5tPjZsFxb\r\nE7vOq9hNmBOzS41H2ZHSsGVKWMN5d4UZFoUeC4duPmvbVbUpms5FbEHJpgr8\r\nsnk7xYiSODx6gzKrYwIw7iP1zsssGbgboJK1SSZvitPzLcdv4G9WTvhBfuYJ\r\ncCOsYkzTM97pRIyySC0INSIRjbNu9+9c1jwHYQuoLiVGUptDhzM1zZa9Pe/5\r\ntOmY64A5yi7rLjjIuIZIh5QjuFedAkp2iV54lMbbiVPDAKXFGf4kD/PaiQWx\r\nWgvuQrClkqp4aIvkGMx8frgo1eLMJnVrjJtsUpehh1rt7G4hp5nyayKdkMX7\r\n0kjorAfQuMV2jl3agYfGAIIZS0/Uz6GsD2qzP4IJ9gXdVmFZTiVnu8EcPa+L\r\nKh6ACbR0HLJX83NdCISOBYfCgFSNaKEZeFFqz4X751epEl5fWr7aDlSX5JUF\r\nMAJge0qd5bJzPNFApL6WpA40aYf22S6SAAAzuK+umIPhTtZTDr9ihArmq+i5\r\nVDRe1pLA09FcXZIezZ3jQIS0iL/4pOBDqQc1f8/7JIe0pPr2ETtpBywREB3m\r\nntaWT5vijg+e4tIbhClv954/8qHQc6zDb64=\r\n=nn03\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"d64738b233f5b5fea1f5fba88d63ab10c5dccdec","scripts":{"dev":"vitest dev","lint":"eslint --ext .ts,.js,.mjs,.cjs .","test":"vitest run --coverage","build":"unbuild","prepack":"unbuild","release":"yarn test && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/perfect-debounce.git","type":"git"},"_npmVersion":"8.3.1","description":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"c8":"latest","eslint":"latest","vitest":"latest","unbuild":"latest","in-range":"^3.0.0","time-span":"^5.0.0","typescript":"latest","standard-version":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_0.0.1_1647358249393_0.7086892895213273","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"perfect-debounce","version":"0.1.0","license":"MIT","_id":"perfect-debounce@0.1.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/perfect-debounce#readme","bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"dist":{"shasum":"c2b73fe219b669eb4e94511911f41d2c36bab2ac","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-0.1.0.tgz","fileCount":6,"integrity":"sha512-vu9tTGaEoZga6ubDWHsVlmKS0wzx11RjqTdk67An593sFDl6GqjusBIb3a7DTQ8ef2DpfiiuFurAbnFBf81qOA==","signatures":[{"sig":"MEQCIE2d8awOjLQH95GAGGjam/VbDqM5Fq/Ie1YnZ1uZioTuAiAo3b6fZ5fPMPYPvNCu+HyME/syLNvXNh4U/RLFrMPGrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMLFFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvaA//cdU4IMQvBVfuWWOXsG4+ik7inWB7hXzW2+FyFSW3xZsbbQSw\r\nGuBzEpNvq1p+GEfn8b5+NS37UK5wuR8JZIhzbDxCEZwHOB+AcjizxkGucCSZ\r\nV7XvZ/45QALQqNXPE0CoYUtDT3VBtU1cDenxGtCa3u4aTzmsP4w7PGglq4bF\r\nOKY5kKmnRhRDxL9940+kLPDkYKTRG3fEO6dblUbTu1EqLoTYbd9CQ6yZP4wf\r\nZVZ9niY5ZHO5iDCCHrjqrB+QwcAfVCpaTAWfGeKhqZTIKT++GKwZ2Un1rF35\r\nWdi6e7bgFsJvMIpC8+WNlWyLdQmDF8flIsTbwcnePe4bOf4jpnsuKOGNwvGp\r\ns4XqO2UgKDzFbqFaz1jgjwhlHn4ZnyhTzTL1Mc+3qlWzmLjSXhqhktAKPZf7\r\npRVLRuk0CTYHNIkSCX0lXkHOALhpsLUuFBUTGlFJ/ccoQF+SU1bV8NG091HI\r\n15uraPCKG70HUG/RI2T7LX0nKpQfPreUzp6tDTedoSIizSdNwHD2Ulop5DD6\r\n6ultgej3PteSxoJ0dx7WfEtgtsq/rDDoqpshLyWrdPDrvVrr5/+1d4YxoBLD\r\nI4+Ssv2tJuzKWbivQHERgzy+DLS7VphM4o87rxYxm4mmb0dFWl6D1EjnNTEk\r\n63uxFKbmrkRrcrzCXJOlRwr5hecmqTCXI3s=\r\n=HQ9a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"e07645b98231837656e06b632bded578e853cb4e","scripts":{"dev":"vitest dev","lint":"eslint --ext .ts,.js,.mjs,.cjs .","test":"vitest run --coverage","build":"unbuild","prepack":"unbuild","release":"yarn test && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/perfect-debounce.git","type":"git"},"_npmVersion":"8.3.1","description":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"c8":"latest","eslint":"latest","vitest":"latest","unbuild":"latest","in-range":"^3.0.0","time-span":"^5.0.0","typescript":"latest","standard-version":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_0.1.0_1647358277478_0.14772726931806068","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"perfect-debounce","version":"0.1.1","license":"MIT","_id":"perfect-debounce@0.1.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/perfect-debounce#readme","bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"dist":{"shasum":"920ebd3fd55ee9e38d82783fd93afe71e2693e4b","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-0.1.1.tgz","fileCount":6,"integrity":"sha512-ksckmiuBDEuS9PGsIoPtYTcqqAstyAMCq16PCHtblbUDTFTYTnBZy6v3cd5rYZPt0pYh3VH/+9MWbxpfriRgOg==","signatures":[{"sig":"MEQCIFcdfK3UrxGu7LPR4kVITm9BfmQoF8ABKA28bk3ec68jAiBATwTLIEBcpS11wUBbVAi2B/d6JEXG6EReMZHld5JNgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMLcTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4XQ//Z9E8LVPePLzye5uBTFe3uPKir6mHO3TR18eVJ5PkOgPN7O73\r\noFIgzJEo48Wn4c+jGOS11TXS2888QSj2eXhzqLdRSMEJDOLgZ32AXVgtCywl\r\nQktJtTOox2YrHQyh5HJI4LFsJZ9kr7Plt06AjRYXnlsOFl1P+w4YiY5ZZeOd\r\nL3Z3yvFXukcBo2ps7h9ZEEljBlnAva1BXFdUFmT4/DTZ6qMzoZVZIuHJuQVK\r\nuICiFxV3yoZRec/HqX3OfHlKw6qlxBS0na3joaPvAbksWmZHbUL+jc4JXk5a\r\nEb/C5+N2sBhqYsySfdTUejD4R2fbZz9WfM+yXj6bbqme0X2FYcPH2P+BAGWM\r\nfN7ED5mC4xPX2H597P5FDPDQc7HbxD26RzjgefHfHNb4QfGrIqWifrolbY31\r\n8bbc/sah/xS0X5IRFUr+7sg4eyGSrYMyhC67BFusdJxZu0wMKelrZ7EaK7Mm\r\nRjjWL/4G2dOr4P4Hs3oEUY15t5VPQ5O4Jx8+WsR3vDSfodzSnJ/75V+OdxwB\r\nWzpUKQpnijlJlI7cJDjWa6I7q/5vC9Ihs9/LAfpoyQhn1tOJqSsq6pQfJw+x\r\nj7av2wATmztbSxdFVSgyIKv7YMgZGwH3TJipoIbVHBf+DikF8i/lGpLdOhZV\r\nWMr1ylM9KjDoryRUiDTRKaiCplhl8P8vP98=\r\n=Fv5G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"a6125d86d4ee893dbfc6f89a6f421e21db584aa3","scripts":{"dev":"vitest dev","lint":"eslint --ext .ts,.js,.mjs,.cjs .","test":"vitest run --coverage","build":"unbuild","prepack":"unbuild","release":"yarn test && standard-version && git push --follow-tags && npm publish"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/perfect-debounce.git","type":"git"},"_npmVersion":"8.3.1","description":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"c8":"latest","eslint":"latest","vitest":"latest","unbuild":"latest","in-range":"^3.0.0","time-span":"^5.0.0","typescript":"latest","standard-version":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_0.1.1_1647359763525_0.6086065934678444","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"perfect-debounce","version":"0.1.2","license":"MIT","_id":"perfect-debounce@0.1.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"dist":{"shasum":"6b6ee3b08001f68ebc953fe063cf85acba485985","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-0.1.2.tgz","fileCount":6,"integrity":"sha512-kriOxd5uBA+cbC3VyUGu9sCQ6eZT7TuJNqIA0n1The47Eq0wpCZN6XxRIDC+S/Y0K9Z43t0i8giiMe83lmG/Sg==","signatures":[{"sig":"MEYCIQDZgC/mJ10unRQDVpTs68ox4UzUf9iT+X62lSje2+yYrgIhAMeefDkXaCFOhhcEdzp5XO9OylxrebzDvxqUbzvpQtGU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMPsDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrnng//Rk6c4SWs3uibJ2/yNZKPTJFym2SeplTcJJQNxLXc6rAfK4Yk\r\nDsJuP+xTLw/pmu3ROjlSuK30pASX0sjU5a75Wg4TVmHKQHpTFelLWBB6L7M8\r\nv32cgE8MdR9gKjMwYlnwhQkH9VA2lwMtdtao+ByrhohkHYMSEV4eA9LSPLTS\r\n0t+zMc7bI957UG89ny1JZqcqLqBdSTwP2pxkmSqX3sgMBy3ZOLS942BWGMAS\r\nLfyv3mfxCz076dCaovAd+HHHwXduyss2PfmPkTxh2DaWP3KIQh6QCYSsmTuW\r\nSkWxr5/P/srGU+FWD4xjBP3Orj70+9J8yZJDv3+trP6yjDk3PaIAgDz9t5cF\r\nKkuOruSw7rWN/CWUynLiNH4JJtbtyhnY1hLLMWCJVxVoE4ehcGe2HGa7bOjG\r\nsiNqCUiyW58Xk18x8r0OQPOi066fBVnKLf/0Ky8aFeYh7z2BZ7wuSRzXEOAN\r\nvBE/DUs+MGq4Opmg/Zk5naD4YHixvXT+H2lGvmgcq0pEWWUHGp2XnZxIMweL\r\nKoRZjGk5Nyv0/nRu5vQg7MFOItoFtPcf19hYbfFYAEuskcL6gvZ4V0nC8+Rz\r\n+TssNKJ1FvZTU+EjCLMnAPST0Ko+QbHShA5zAg0HCirXuPCIJAmSniC/K4bY\r\n2uxd4GfTpBkBYIWZrNHcrg3WQniFxQl2aoE=\r\n=m2dE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","_from":"file:perfect-debounce-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"dev":"vitest dev","lint":"eslint --ext .ts,.js,.mjs,.cjs .","test":"vitest run --coverage","build":"unbuild","release":"pnpm test && standard-version && git push --follow-tags && pnpm publish"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"_resolved":"/home/pooya/Code/perfect-debounce/perfect-debounce-0.1.2.tgz","_integrity":"sha512-kriOxd5uBA+cbC3VyUGu9sCQ6eZT7TuJNqIA0n1The47Eq0wpCZN6XxRIDC+S/Y0K9Z43t0i8giiMe83lmG/Sg==","repository":"unjs/perfect-debounce","_npmVersion":"8.3.1","description":"","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@6.32.3","devDependencies":{"c8":"latest","eslint":"latest","vitest":"latest","unbuild":"latest","in-range":"^3.0.0","time-span":"^5.0.0","typescript":"latest","standard-version":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_0.1.2_1647377155493_0.19578657407604827","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"perfect-debounce","version":"0.1.3","license":"MIT","_id":"perfect-debounce@0.1.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"dist":{"shasum":"ff6798ea543a3ba1f0efeeaf97c0340f5c8871ce","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-0.1.3.tgz","fileCount":6,"integrity":"sha512-NOT9AcKiDGpnV/HBhI22Str++XWcErO/bALvHCuhv33owZW/CjH8KAFLZDCmu3727sihe0wTxpDhyGc6M8qacQ==","signatures":[{"sig":"MEUCIAcHr5WzcjcIglhHuoA9vGgPdWZQSQfLHHGGLIM9c2hzAiEAxM1Zpi/R/JlDWlpDV9bZR9Gyi57n7MjrO2kq/lXlXSU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMbJAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpd7Q/+Mjtno2sMADDFeU9pVVhCFGu6M73P2SgzqNIUIoeZw4HzS0cl\r\nsvJEtx/jb2yDqP60VBoBFgUm5jXZDdQfeBbXlPiscHDHzuttdW8z5/CortUN\r\n+G0zEOmmWdfJJw4JZ9PdfoxPeYI4dEpwBWlzZrTOPOFEPjYpfuSkyob8ric9\r\nOa2bvkL4xYn+ItjnyMIjt7LQOv1V3Nau5h95NMZIcS3R+YPc+Mws877o8MPa\r\ngskEUYPIKUmmFnjR24Fx6kzUFylJaIa5j6D3fNcNMAFBfY9y40EO54diMVYM\r\n/lr7SWXQvPQqEZBNzYIUw2eI5u60vkszhap+RG2yKTZ/q/0rIQimJClTcKU8\r\n1C6Sz5R3bS4UZTETcQc4jdsSq4cIbQMdili3WMwfcduZZgJoecamofVTXC8T\r\nAnLH4OmAkiLj/P0NfZlU99+PN7nPI0iJgbMfk0SrYvZy2fVO+hTim4maQZcf\r\n1A8sR33Vfqr+sXS8BVtJOIZubb+q+WM2Ek2eLSO7FF/KoVGEPN+xFZIObuDc\r\nwLfkN/AqmsVTAyyX56MCDa0ZTKtqaF/KPsS7rOQAsNGhlZlSC4oIFby2H46z\r\nyxDAWhqvdBaI5Z4iWXp6j6tR4ibYKKC+y+MtqPy2zmC5/PW1U1RDLcsHiv9D\r\nG9Pv7qhtZYrPTW9lOmsvajpTZlYc6Ex/EjI=\r\n=/wZc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","_from":"file:perfect-debounce-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"dev":"vitest dev","lint":"eslint --ext .ts,.js,.mjs,.cjs .","test":"vitest run --coverage","build":"unbuild","release":"pnpm test && standard-version && git push --follow-tags && pnpm publish"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"_resolved":"/home/pooya/Code/perfect-debounce/perfect-debounce-0.1.3.tgz","_integrity":"sha512-NOT9AcKiDGpnV/HBhI22Str++XWcErO/bALvHCuhv33owZW/CjH8KAFLZDCmu3727sihe0wTxpDhyGc6M8qacQ==","repository":"unjs/perfect-debounce","_npmVersion":"8.3.1","description":"","directories":{},"sideEffects":false,"_nodeVersion":"16.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@6.32.3","devDependencies":{"c8":"latest","eslint":"latest","vitest":"latest","unbuild":"latest","in-range":"^3.0.0","time-span":"^5.0.0","typescript":"latest","standard-version":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_0.1.3_1647424064688_0.7714550016971755","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"perfect-debounce","version":"1.0.0","license":"MIT","_id":"perfect-debounce@1.0.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/perfect-debounce#readme","bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"dist":{"shasum":"9c2e8bc30b169cc984a58b7d5b28049839591d2a","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz","fileCount":6,"integrity":"sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==","signatures":[{"sig":"MEUCIHEwdoeYAzVkahbR4TrBg6nLpS2LaqEpU4Kq5xuFCHH+AiEAhtOU+lMgZxSEGjjIWEj8fjuRYYJguBDTlmc7dsAkAok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUut4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq36g/+OyTTjU8xbBx21YdNym1EnVl0zyKDhefmtXbIJhku9feR+JJ9\r\nW9FpWWiyh4/oFHg5xo0avdmtAxM6rlnU9KWvRckCLOazOQILrK4Wa6TL1ElH\r\nCjouXEvOiwCFcGru7QQTKRa7AOEQqVRzT3TKrLEjg4UzhU2mb6yFLQ/NnLH0\r\nIujDgWlOefL0+a20FrBT4+5c8HR04qHajNyD8hiNjth9OEK8GisGknpUzl1l\r\nVhmGV9KmSOl+jejREIi1LxEzmer0ez34LZzD/jiP2VNE9AhAkuHhj32bocIw\r\nIWTasE3/ht0KmYd3K82+PQ8IEFvm4BNP0IL9g+AsM+oHhzYpf6/aNFDnTi/k\r\nmCVuRNiPbhEyixx9garKM0jfq/QXZ167usYmsloOsOzW9a+ocJMK7z8xhyXZ\r\nMGICIeODNciZEL1HMZGqrmdXSNJcx0xyqOM9Ihh4BY5EHWh2h5+Vf2RIZdsA\r\nEtQ9K30odHoPsO7K19h2IYpug0kAcv3YadTBNdByQ6SKoleHj4MTq9sd5RP4\r\nBQ3YbB8jjcV1e8wnvjtrolAhUTNXy0zY8/Wzjx/xRbzsOX0ZKU1Wu9M+t/CE\r\nLPpHghRP5h09G6bIaMiz+dMnkkr82xzjp76TUX+TlaHQaBzRXWcN42NgAJ8Z\r\ntQlVCN1sRLPwroN9g6jFuaxnrXTYOxzZycA=\r\n=OClE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"984406de0d31a49a35b8929197162a49ba26ec0f","scripts":{"dev":"vitest dev","lint":"eslint --ext .ts,.js,.mjs,.cjs . && prettier --check src test","test":"vitest run --coverage","build":"unbuild","release":"pnpm test && pnpm build && changelogen --release --push && npm publish","lint:fix":"eslint --ext .ts,.js,.mjs,.cjs . --fix && prettier -w src test"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/perfect-debounce.git","type":"git"},"_npmVersion":"8.19.3","description":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.4.0","devDependencies":{"eslint":"^8.39.0","vitest":"^0.31.0","unbuild":"^1.2.1","in-range":"^3.0.0","prettier":"^2.8.8","time-span":"^5.1.0","typescript":"^5.0.4","@types/node":"^18.16.3","changelogen":"^0.5.3","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.31.0"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_1.0.0_1683155832605_0.050683142885539434","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"perfect-debounce","version":"2.0.0","license":"MIT","_id":"perfect-debounce@2.0.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/perfect-debounce#readme","bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"dist":{"shasum":"0ff94f1ecbe0a6bca4b1703a2ed08bbe43739aa7","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.0.0.tgz","fileCount":5,"integrity":"sha512-fkEH/OBiKrqqI/yIgjR92lMfs2K8105zt/VT6+7eTjNwisrsh47CeIED9z58zI7DfKdH3uHAn25ziRZn3kgAow==","signatures":[{"sig":"MEYCIQCa1lzx5+0lSgkHy2XQb6qPPdki/l0ifK+hCs13e7CqBwIhAOX11VuuACnNGGSoQxaQ+90RTI7184P8ZSLaBbsXH9W/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9545},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":"./dist/index.mjs"},"gitHead":"d872850a230611e4972ecd7ee86784fb0aafe866","scripts":{"dev":"vitest dev","lint":"eslint . && prettier --check src test","test":"vitest run --coverage","build":"obuild","release":"pnpm test && pnpm build && changelogen --release --push && npm publish","lint:fix":"eslint . --fix && prettier -w src test"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/perfect-debounce.git","type":"git"},"_npmVersion":"10.9.3","description":"","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.15.0","devDependencies":{"automd":"^0.4.0","eslint":"^9.34.0","obuild":"^0.2.1","vitest":"^3.2.4","in-range":"^3.0.0","prettier":"^3.6.2","time-span":"^5.1.0","typescript":"^5.9.2","@types/node":"^24.3.0","changelogen":"^0.6.2","eslint-config-unjs":"^0.5.0","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/perfect-debounce_2.0.0_1755897854774_0.6973565376216238","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"perfect-debounce","version":"2.1.0","description":"","repository":{"type":"git","url":"git+https://github.com/unjs/perfect-debounce.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":"./dist/index.mjs"},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","scripts":{"build":"obuild","dev":"vitest dev","lint":"eslint . && prettier --check src test","lint:fix":"eslint . --fix && prettier -w src test","release":"pnpm test && pnpm build && changelogen --release --push && npm publish","test":"vitest run --coverage"},"devDependencies":{"@types/node":"^25.0.10","@vitest/coverage-v8":"^4.0.17","automd":"^0.4.2","changelogen":"^0.6.2","eslint":"^9.39.2","eslint-config-unjs":"^0.6.2","in-range":"^3.0.0","obuild":"^0.4.18","prettier":"^3.8.1","time-span":"^5.1.0","typescript":"^5.9.3","vitest":"^4.0.17"},"packageManager":"pnpm@10.28.1","gitHead":"d3f83001dad6faa2090bd1aadab7312843fe6b79","_id":"perfect-debounce@2.1.0","bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"homepage":"https://github.com/unjs/perfect-debounce#readme","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==","shasum":"e7078e38f231cb191855c3136a4423aef725d261","tarball":"https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.1.0.tgz","fileCount":5,"unpackedSize":9566,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCyNOpDI/ZfV3pTi/bilbL/1P62TRDCUXNWTTnOO8nz6QIhAP01XpXNEC1tC90PptYlrq6FMl8THXmeLUbp/Xalv6nD"}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/perfect-debounce_2.1.0_1769039253320_0.49426584142687435"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-14T19:27:22.844Z","modified":"2026-01-21T23:47:33.556Z","0.0.0":"2022-03-14T19:27:22.970Z","0.0.1":"2022-03-15T15:30:49.571Z","0.1.0":"2022-03-15T15:31:17.647Z","0.1.1":"2022-03-15T15:56:03.741Z","0.1.2":"2022-03-15T20:45:55.741Z","0.1.3":"2022-03-16T09:47:44.803Z","1.0.0":"2023-05-03T23:17:12.783Z","2.0.0":"2025-08-22T21:24:14.956Z","2.1.0":"2026-01-21T23:47:33.457Z"},"bugs":{"url":"https://github.com/unjs/perfect-debounce/issues"},"license":"MIT","homepage":"https://github.com/unjs/perfect-debounce#readme","repository":{"type":"git","url":"git+https://github.com/unjs/perfect-debounce.git"},"description":"","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"readme":"# perfect-debounce\n\n\n\n[![npm version](https://img.shields.io/npm/v/perfect-debounce?color=yellow)](https://npmjs.com/package/perfect-debounce)\n[![npm downloads](https://img.shields.io/npm/dm/perfect-debounce?color=yellow)](https://npm.chart.dev/perfect-debounce)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/perfect-debounce?color=yellow)](https://bundlephobia.com/package/perfect-debounce)\n[![install size](https://badgen.net/packagephobia/install/perfect-debounce?color=yellow)](https://packagephobia.com/result?p=perfect-debounce)\n[![codecov](https://img.shields.io/codecov/c/gh/unjs/perfect-debounce?color=yellow)](https://codecov.io/gh/unjs/perfect-debounce)\n\n\n\nImproved debounce function with Promise support.\n\n## Features\n\n- Well tested debounce implementation\n- Native Promise support\n- Avoid duplicate calls while promise is being resolved\n- Configurable `trailing` and `leading` behavior\n- Control methods\n\n## Usage\n\nInstall package:\n\n```sh\nnpx nypm i perfect-debounce\n```\n\nImport:\n\n```js\nimport { debounce } from \"perfect-debounce\";\n```\n\nDebounce function:\n\n```js\nconst debounced = debounce(async () => {\n // Some heavy stuff\n}, 25);\n```\n\nWhen calling `debounced`, it will wait at least for `25ms` as configured before actually calling your function. This helps to avoid multiple calls.\n\n### Control Methods\n\nThe returned debounced function provides additional control methods:\n\n- `debounced.cancel()`: Cancel any pending invocation that has not yet occurred.\n- `await debounced.flush()`: Immediately invoke the pending function call (if any) and return its result.\n- `debounced.isPending()`: Returns `true` if there is a pending invocation waiting to be called, otherwise `false`.\n\n```js\ndebounced.cancel(); // Cancel any pending call\nawait debounced.flush(); // Immediately invoke pending call (if any)\ndebounced.isPending(); // Returns true if a call is pending\n```\n\n### Example\n\n```js\nconst debounced = debounce(async (value) => {\n // Some async work\n return value * 2;\n}, 100);\n\ndebounced(1);\ndebounced(2);\ndebounced(3);\n\n// Check if a call is pending\nconsole.log(debounced.isPending()); // true\n\n// Immediately invoke the pending call\nconst result = await debounced.flush();\nconsole.log(result); // 6\n\n// Cancel any further pending calls\ndebounced.cancel();\n```\n\nTo avoid initial wait, we can set `leading: true` option. It will cause function to be immediately called if there is no other call:\n\n```js\nconst debounced = debounce(\n async () => {\n // Some heavy stuff\n },\n 25,\n { leading: true },\n);\n```\n\nIf executing async function takes longer than debounce value, duplicate calls will be still prevented a last call will happen. To disable this behavior, we can set `trailing: false` option:\n\n```js\nconst debounced = debounce(\n async () => {\n // Some heavy stuff\n },\n 25,\n { trailing: false },\n);\n```\n\n## 💻 Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable` (use `npm i -g corepack` for Node.js < 16.10)\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## License\n\nBased on [sindresorhus/p-debounce](https://github.com/sindresorhus/p-debounce).\n\nMade with 💛 Published under [MIT License](./LICENSE).\n","readmeFilename":"README.md"}