{"_id":"@hiseb/confetti","_rev":"17-ad2053fe5ce0948039d172cb50b6384a","name":"@hiseb/confetti","dist-tags":{"latest":"2.2.0"},"versions":{"2.0.0":{"name":"@hiseb/confetti","version":"2.0.0","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.0","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"74cbd20327b98c86e11b0a2c66f0e759a244d6b4","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.0.tgz","fileCount":8,"integrity":"sha512-Z7pq5xx4QwzDYfDjQayEqDj87vfwpY0GApcnzAVFOSTrZhA8GoSG9oFbVj/L27+EAumuOsP+RVeuyHExrOsmyA==","signatures":[{"sig":"MEUCIDdTm4cukYVJTxYxFZ1qCUUquwgpfmpWQpOFAvmEJmH2AiEAsq55wlG1noKlqsN0jE6roxzhtes8QoQPT8xCuBhbh2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18200},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"3c1da6847a61c5dc295961ade0ba200cc189abca","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.0_1765057158492_0.2987389993051124","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@hiseb/confetti","version":"2.0.1","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.1","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"181503cd70e6d7277b4b5af2e3eba580b3f27ea1","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.1.tgz","fileCount":8,"integrity":"sha512-WlohjFBAPPPKn7bRp+3KvJhbt+7sBxWlLv+xF0G1oe6bOl/GOhqVpgus0MfhtUj6JzTOrO7ydE4HmBoC/9P1dQ==","signatures":[{"sig":"MEUCIQD3Qw9wu3BxSNm/lr211hgkj62oNq2ZA0ZEZrXAdGD8zAIgT+mdjEmgGXQM5O92KUaumeUWYzCRQFx00NyQi6pXdw4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19925},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"23175cee13c4776609cc63341d90b69aa459aec8","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.1_1765063567809_0.8769235762289531","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@hiseb/confetti","version":"2.0.2","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.2","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"56066bb61a7872e878b012f3c4fa1227a20e97f4","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.2.tgz","fileCount":8,"integrity":"sha512-xVMtuHpUBc3a2bKpDQqju2f5NX+Au8spRs2ICIxq7RfQGH2n+bZAXVLutGsrKUB03bgna2MFpEEOLvurT7xptw==","signatures":[{"sig":"MEUCIQDndUO2UNet75leKX7seBt32+Qdi7uWE1/G/6qFo350KgIgPl30iW2OuK8QiaZR/AE81XYQ3TrcvwD59QLMtHKespA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19826},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"d820afc0d8cde7236133020ff89dac7f829cfb5e","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.2_1765063742973_0.6059288006570729","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@hiseb/confetti","version":"2.0.3","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.3","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"0464ddc5d5ea0dfe095be011e339af338b1607ab","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.3.tgz","fileCount":8,"integrity":"sha512-7WEuLZLRvtrlfmmwtK1/PBIZrgKGnu1IFDaEoc/NPxyjDWeUo83dBmqL8O0G5i+ZHQLiKYy5KDwn+vMUfBQn3A==","signatures":[{"sig":"MEQCIEWDQAqqPE1KzTg7lseT8ke+16SKEmwKvi24KvIyr2+2AiBkcEjZZPEv/ii+anXEz1EcMyV0iaRsJViLxjxrm8Zdsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19792},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"a3d75df53178a1d878d030bdae284746fc7b9f69","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.3_1765128316968_0.4665258962804233","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@hiseb/confetti","version":"2.0.4","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.4","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"f191c30aa059c64745fd39cfbbc275f91f1602fc","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.4.tgz","fileCount":8,"integrity":"sha512-hQ9uHSW4c9Uqy8fNz9gwNpClM75ip0W+X068wzGh02l4I7tCcLlPW2Dku+rpAPmfIl8LnuIPRjqfBQ4ldWpD7A==","signatures":[{"sig":"MEUCIGcR71I5RqN8wyEKTGL7gaYCbgV+ZTga/oXkcQas/eW5AiEA2RX9ze7j2eydX/mbxQJ4jq+NckJ6hlPV+u48M5avgDo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21643},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"e5e42fbc8d69324b5ab48c936659f4555341d8bf","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.4_1765233596649_0.07753562983039397","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@hiseb/confetti","version":"2.0.5","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.5","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"77415eb652f7e733f40948e08176e71407b76c1a","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.5.tgz","fileCount":8,"integrity":"sha512-Fi9wnXFO//Oh5PY2ZOC628mtshnfkZMAMfcqPbV3Xb7Bm+piyG6qbNvqjdZ62gCK0Kq3hoTbmpxbMqhQ0a6UGQ==","signatures":[{"sig":"MEYCIQDhwbA+iGugkeHB4DAsGcn+/sjOpAYDV3KIOsygGbeeKAIhALiMcCBJgwZ3tJA1mJEzYg8pLtGYQPuj9bKCsqZIwrzN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21838},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"5f06a2d2336496c68a55b6e33914da5c82f78197","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.5_1765253739962_0.02730422344046124","host":"s3://npm-registry-packages-npm-production"}},"2.0.7":{"name":"@hiseb/confetti","version":"2.0.7","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.7","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"cad31a760e3ca00132b0129f6e913a1333cb01e7","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.7.tgz","fileCount":8,"integrity":"sha512-pCldTktLv6wBBwDGkI/YtT4o+fCcGnBPvKSTg//r/kqjiIlZGv2mVeUPmZE48+dgeNfI3Kq7iEY59C28+aEMlw==","signatures":[{"sig":"MEUCIAWANGbl/eL92s8lxijtaNBZkEZR3uwODNThu6r0/Qk0AiEA07oDI/MMbCmbW++DfMntBDxR5Zu1D9oQ57ao1ywmLlI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21853},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"ea773ea53b9b45cd88c1ba2679366f9979f880b7","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.7_1765294594978_0.07834866714292255","host":"s3://npm-registry-packages-npm-production"}},"2.0.8":{"name":"@hiseb/confetti","version":"2.0.8","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.8","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"774734568af6513df3ee6241551d03df4addbbfe","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.8.tgz","fileCount":8,"integrity":"sha512-1g+xA/3Z5R8ysoggR7/fRM1jmwjOoDTOwFPCN0bPt2YJH0HkgFl9oDfYbwa/Jyq6Y+idxzh/QBR4N/xAEErx3A==","signatures":[{"sig":"MEUCIQC1BRWx7tqyScNzFUfpFvogq/ABuBGYON5Pc32jTONAAwIgb7hwBwPaDAm90RW0C6AXIVJMWXzSksQUSfd1lx3AE2E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21856},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"b31e7535eba0c3cd720df3d011acf6f2d16c5a12","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.8_1765313843135_0.8923589891076515","host":"s3://npm-registry-packages-npm-production"}},"2.0.9":{"name":"@hiseb/confetti","version":"2.0.9","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.0.9","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"5da1959f8afa73f88488f4d06eab45eab42b1c16","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.0.9.tgz","fileCount":8,"integrity":"sha512-OihZneNOxxlotpotZI7fV+6d8QPP7txi0y/lWEO5xarU4+rejtomi8Kb7JmXosMKAS8Xqr01jhSiG+z4LXc2zA==","signatures":[{"sig":"MEUCIGkQbKGSFKRJmS2zGJKoTCaVuDe2DFQfZik89Ebvv5sxAiEAwmN0ATS/KkmtSOacxi18nlcM7pv7CrVsQ6fs7K3VICo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21838},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"d233b65df61a3c1779b7038ea761bd1a9d87bddc","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.0.9_1765314537758_0.4528584369018529","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@hiseb/confetti","version":"2.1.0","keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","_id":"@hiseb/confetti@2.1.0","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"homepage":"https://github.com/swetzel/confetti.js#readme","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"dist":{"shasum":"3aa6ae696da67bf0f036f7a665d5f9c8705fe1ec","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.1.0.tgz","fileCount":8,"integrity":"sha512-yPalKd34NfmEsUTXj3ZrlNtj1J21WgoocDs8+92W/Quzl2j5ECuxX5L0jQp16tgvp+uIYdeNAmizP1WPyt5hfQ==","signatures":[{"sig":"MEUCIQC6NE4+wQVYz/Vjv5st9BxlM/uo2tOxLaYmC6/LybWIFwIgJNnL4dfc/mUQmS/2wVTI31ggmAIh/3dJtR2e6UYRNOc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21838},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./confetti.min.js":"./dist/confetti.min.js"},"gitHead":"5f689161fb14ca4ae2cb72423ffeb8758dec0966","scripts":{"build":"tsup && mv ./dist/confetti.global.js ./dist/confetti.min.js"},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"repository":{"url":"git+https://github.com/swetzel/confetti.js.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight confetti browser animation","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/confetti_2.1.0_1765327041980_0.3837707104126724","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@hiseb/confetti","version":"2.2.0","description":"A lightweight confetti browser animation library","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs"},"./confetti.min.js":"./dist/confetti.min.js"},"scripts":{"build":"tsup","test":"vitest run"},"keywords":["confetti","canvas","particles","animation","simulation"],"author":{"name":"Sebastian Wetzel"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/swetzel/confetti.js.git"},"devDependencies":{"jsdom":"^28.1.0","tsup":"^8.5.1","typescript":"^5.9.3","vitest":"^4.0.18"},"gitHead":"a658cd149c94217d15e28b8140717a60bec9318e","_id":"@hiseb/confetti@2.2.0","bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"homepage":"https://github.com/swetzel/confetti.js#readme","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-iCcTe2AS2Mnj7f2BGPnOetjnX+Qs1jgnKU0GSYyQHFB42psio0EpgxmPXOXf2wcCGBH/W+1G2Ecl4hcbsin1Kg==","shasum":"5c5823eae8494295479e487bd62ceb2754748e09","tarball":"https://registry.npmjs.org/@hiseb/confetti/-/confetti-2.2.0.tgz","fileCount":10,"unpackedSize":57486,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBOm6pykqer6GNqVEFnCIxkQZAsXMuWp2mBxDc6+7wEBAiEAjLT7yL6nOVcnDRw5KQvv/zL+iGd2A9KA1XXgvsHziw0="}]},"_npmUser":{"name":"hiseb","email":"seb.o.wetzel@gmail.com"},"directories":{},"maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/confetti_2.2.0_1784695335445_0.3982409975093044"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-06T21:39:18.426Z","modified":"2026-07-22T04:42:15.733Z","1.0.0":"2025-12-04T23:59:13.574Z","1.0.1":"2025-12-05T00:05:18.538Z","2.0.0":"2025-12-06T21:39:18.648Z","2.0.1":"2025-12-06T23:26:07.960Z","2.0.2":"2025-12-06T23:29:03.141Z","2.0.3":"2025-12-07T17:25:17.116Z","2.0.4":"2025-12-08T22:39:56.793Z","2.0.5":"2025-12-09T04:15:40.094Z","2.0.6":"2025-12-09T15:31:47.614Z","2.0.7":"2025-12-09T15:36:35.140Z","2.0.8":"2025-12-09T20:57:23.281Z","2.0.9":"2025-12-09T21:08:57.901Z","2.1.0":"2025-12-10T00:37:22.139Z","2.2.0":"2026-07-22T04:42:15.604Z"},"bugs":{"url":"https://github.com/swetzel/confetti.js/issues"},"author":{"name":"Sebastian Wetzel"},"license":"ISC","homepage":"https://github.com/swetzel/confetti.js#readme","keywords":["confetti","canvas","particles","animation","simulation"],"repository":{"type":"git","url":"git+https://github.com/swetzel/confetti.js.git"},"description":"A lightweight confetti browser animation library","maintainers":[{"name":"hiseb","email":"seb.o.wetzel@gmail.com"}],"readme":"# [🎉 confetti.js](https://confettijs.org/)\n\n***A lightweight confetti browser animation library.***\n\n[![jsdelivr][jsdelivr.svg]][jsdelivr.link]\n[![npm-downloads][npm-downloads.svg]][npm.link]\n[![npm-version][npm-version.svg]][npm.link]\n\n[jsdelivr.svg]: https://data.jsdelivr.com/v1/package/npm/@hiseb/confetti/badge?style=rounded\n[jsdelivr.link]: https://www.jsdelivr.com/package/npm/@hiseb/confetti\n[npm-downloads.svg]: https://img.shields.io/npm/dm/@hiseb/confetti.svg\n[npm.link]: https://www.npmjs.com/package/@hiseb/confetti\n[npm-version.svg]: https://img.shields.io/npm/v/@hiseb/confetti.svg\n\n![confetti](/assets/confetti.gif)\n\n## Install\n\nYou can install this library from NPM:\n\n```bash\nnpm install --save @hiseb/confetti\n```\n\nAlternatively, you can include this library in your HTML page directly from a CDN:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@hiseb/confetti@2.2.0/dist/confetti.min.js\"></script>\n```\n\n## Usage\n\n```js\nimport confetti from \"@hiseb/confetti\";\nconfetti();\n```\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@hiseb/confetti@2.2.0/dist/confetti.min.js\"></script>\n<script>\n    confetti();\n</script>\n```\n\n## API\n\nThe confetti function takes in a config object, all parameters are optional:\n\n```js\nconfetti({\n    position: { x: 0, y: 0 },   // Origin position\n    count: 100,                 // Number of particles\n    size: 1,                    // Size of the particles\n    velocity: 200,              // Initial particle velocity\n    fade: false,                // Particles fall off the screen, or fade out\n    color: [\"#FF06B5\"]          // Palette the particles are picked from\n});\n```\n\n## Examples\n\nTrigger confetti based on a click event:\n\n```js\nwindow.addEventListener(\"click\", (event) => {\n    confetti({ position: { x: event.clientX, y: event.clientY } });\n});\n```\n\nTrigger a sequence of confetti when the page loads:\n\n```js\nwindow.addEventListener(\"load\", () => {\n    let positionList = [\n        { x: window.innerWidth * 0.50, y: window.innerHeight * 0.60 },\n        { x: window.innerWidth * 0.25, y: window.innerHeight * 0.40 },\n        { x: window.innerWidth * 0.75, y: window.innerHeight * 0.30 },\n    ];\n    for(let i = 0; i < positionList.length; i++) {\n        setTimeout(() => confetti({ position: positionList[i] }), i * 250);\n    }\n});\n```\n\nMatch the confetti to your brand colors:\n\n```js\nwindow.addEventListener(\"click\", (event) => {\n    confetti({\n        position: { x: event.clientX, y: event.clientY },\n        color: [\"#F43F5E\", \"#8B5CF6\", \"#06B6D4\"],\n    });\n});\n```","readmeFilename":"README.md"}