{"_id":"party-js","_rev":"21-5f9214b82bc49e8815ae8267a1dafe97","time":{"0.1.1":"2016-03-30T20:42:00.010Z","created":"2020-11-02T20:40:49.859Z","1.0.0":"2020-11-02T20:40:49.977Z","modified":"2022-11-18T08:02:40.387Z","1.0.1":"2020-11-05T09:52:53.566Z","1.0.2":"2021-01-02T10:17:06.831Z","1.0.3":"2021-01-02T17:36:50.391Z","1.0.4":"2021-01-12T08:29:14.267Z","2.0.0-0":"2021-04-18T09:40:53.374Z","2.0.0":"2021-05-13T11:21:43.796Z","2.0.1":"2021-05-17T12:51:52.590Z","2.1.0":"2021-09-26T08:42:23.009Z","2.1.1":"2021-10-09T07:37:39.472Z","2.1.2":"2021-10-11T15:49:27.580Z","2.1.3":"2022-06-07T17:08:15.886Z","2.2.0":"2022-07-11T08:38:33.337Z"},"name":"party-js","dist-tags":{"latest":"2.2.0","next":"2.0.0-0"},"versions":{"1.0.0":{"name":"party-js","version":"1.0.0","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"party.min.js","scripts":{"test":"echo \"Error: no test specified\""},"repository":{"type":"git","url":"git+https://github.com/YilianSource/party-js.git"},"keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","bugs":{"url":"https://github.com/YilianSource/party-js/issues"},"homepage":"https://partyjs.yiliansource.dev","gitHead":"30d556b72a9d49879e523595fff92488779d690c","_id":"party-js@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-AP5T4fks7lCrdNBSS844+0Oymqf7WiKlg9+lquWo3BMv6HgfG/ZumPPfJhMJLiaUd5ZME2OzAE0NWMW7iGeimA==","shasum":"1a2eabcecdd73e40ca60da7a887ba47c845a9fcb","tarball":"https://registry.npmjs.org/party-js/-/party-js-1.0.0.tgz","fileCount":4,"unpackedSize":17235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoG7SCRA9TVsSAnZWagAALZUQAJ/s1t7w08cdKFxFZfmM\nYXOFExpYS80wA86gIML1dIWecKFrzd+TtTs8DJZ8DrmFt2PTxwVFW8ZD8+oT\nSS2y35GQqAHwVtEZnTEljPa8N/DSjJ8FqL/ai0iWjXGZverTQ6DMcbhkQEfy\nz6cdJ6Alhtw1pO4cN1meu65JCvkWtE79/vurh6AV4diCpnpIrbvAouIDcdxE\n7NG+M5I0w6ruED5c57VRTvMMlChSVIMh1DjnuAbdBjqWU3s0/mpRAa8hyfT2\nyAVuJWZWFlAcgnMfjU6XYqpS5wvT1aiAJPAOFL8kvY6vyxdH8BrVDSJCC1OM\n2sNukcivFBg5nBiRyPa3th5bIrBs4VxIXbAiH7ulDwitcs84yM1q6Wpj8uiV\nP+QwtAZWa3fDr0IRZ1JufycsUBizoXv3/z2W9kEcsSkLhDCUPC26UxvQEmGx\nYshemSL2BdzXkFDaRT0cFLIXbErt4/CjIVt9CKphZDdxh5LYr0sXw0pGq4DC\nRxQJcTwaJ8M/V/TupqjeWTsVC5+gPhMdK2eapysXu/FA0Rqbts9MaeIxmWo5\nMxitrv57QcmQf16HCHgMWBWlrLgadwWYEwc6TY61qZ0XZJpUYaWyS8nOPrCJ\nWkUYBAacLxDkzquidqSjG8obw233uonYFJYqmOVosP4wT+BzouWGigsDLzZo\nFtND\r\n=ceUo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxdCbwu981tCtEJPMQAXRKoX+ev0SkMqOJD5wzsdyYqwIgN+xL2TO2wU7Z4vA9idSMrQhV1AiPVx4evbvf782ipHQ="}]},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_1.0.0_1604349649859_0.05561056818544685"},"_hasShrinkwrap":false},"1.0.1":{"name":"party-js","version":"1.0.1","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"party.min.js","scripts":{"test":"echo \"Error: no test specified\""},"repository":{"type":"git","url":"git+https://github.com/YilianSource/party-js.git"},"keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","bugs":{"url":"https://github.com/YilianSource/party-js/issues"},"homepage":"https://partyjs.yiliansource.dev","gitHead":"a6c2d2eedac736ea6601a7e9e13835e9261f2098","_id":"party-js@1.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GG7Wa+PUB9P+V+Hy5zXwjH3bzq2cLpE6koIceQVhobCPA+fcjbz1qojti3CG7Tdr3ZIXVoxz462I02umyU0/4w==","shasum":"3126d5f802f649db0b61bb47dc19d2f2d088d13e","tarball":"https://registry.npmjs.org/party-js/-/party-js-1.0.1.tgz","fileCount":4,"unpackedSize":17250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfo8t2CRA9TVsSAnZWagAArp4QAJF0itWKmhJDN9lykcES\nGabIggPwhNjnKSIFmpBNyNsN0Ap2ockSBZzZ5c9hCvUYVpkWkdmOxbplAfpM\neLh4Ywb6r9ESFVJqPwLg8HgUljpnTnkMDp+cA6YiiVVbmyXG6TE4GZSLTFh6\nZt5jvaMCXb41Ik5hlj1VJTEUkvOYTnSuc3BGQsVQj3vfKdCUlip+jLVYrJKC\naNYo5ja02KOrZmegMFnKke8gakCXuMDJpdFFIhnueTXZa6oJyAJOrLjmOm0c\nhqDazvwRUt1ob+pLxpFxJ3pP8WVyN4pMgpUC3xrxU7rCDewPd28qre7kV/xx\ngvDU0xN89Vn/+oOOlj3BhOqd+kOy7mtQ4XAPFrSN0xLI2IsM7Dy7inJk5PEu\n/oNot7eiZCxQDmPd00wauHtEeH7xB7kaRQZEd89GN7eVkyKS5p0EBSWGhg/m\ng7E/6RanOXC7jRROLU65G9aupIhF9nPXilisw/vDeiMXHZAEtZScUTrLTlAQ\nfh2mIxRf+7t/VwNkxwhLnYyZzUFaGxxUSpfvI+ToDvUVk8jbtc8OOnPjqMn/\n6Y/j28UKZvaHBWw9qO09k/6NWeQOIV2LVTLOOUtjO2iP4SF2vpvfTUbtoDvp\n39LBaDLp4OoYz9qNwMruwB3YYRRghviY5bsOem/nwV38fVIdlWSFmULk/lVJ\n6cvF\r\n=p+qj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8aCkwR6Jhxwe8wTVQDuGxApj64S2XfZrjfJE7y0vvfAiATv6x1ehjukKyjbvlJ1wcsa1SBT/tQLDiXqVdTed9ftA=="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_1.0.1_1604569973446_0.7000325782439585"},"_hasShrinkwrap":false},"1.0.2":{"name":"party-js","version":"1.0.2","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"party.min.js","scripts":{"test":"echo \"Error: no test specified\""},"repository":{"type":"git","url":"git+https://github.com/YilianSource/party-js.git"},"keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","bugs":{"url":"https://github.com/YilianSource/party-js/issues"},"homepage":"https://partyjs.yiliansource.dev","gitHead":"70fdd2e78bdb130df2782b19c7b110e94f9bd194","_id":"party-js@1.0.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-r74tFk7lpMoNllPZVfrqCdtdiT4KZznu/sPBszW1C4dPMrgeh5cNL4IYuGshMupmnGCsoKZO/FeQ4qi/1etnVw==","shasum":"347c42ad273da50a246694ca0c377b04a986d8cd","tarball":"https://registry.npmjs.org/party-js/-/party-js-1.0.2.tgz","fileCount":4,"unpackedSize":17295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8EgjCRA9TVsSAnZWagAA8aUP/R+eMqwkiCECKm886Ir8\n41/V8RySfUIIHlNNgd5/Oc/XMyZ+nIouXTkY2iAZJMZWc6+ECuOl5GgypZX3\ncR8g+O/Es7bIuasFYabyLS8IS3zcS/JGwI5yA8Qr7d6+hb53PbDdPx68Fhd6\nWh2xDR/UcAoFIB3iA7KIfeYqq/GUeMdqUTOGPGuFk7uAiJZ7dtQfEHLVYnXe\nkTANVyPkserLr+CX+QXdWIxq0uru68tdWKKzjcVv3Kbk/gARSNlPSfWlRy/D\n4M2W06O+fg3WmrTKqX+0UlkxR1wTQpUhv1DmUHUme05y0cgNbSdno7UmtZuW\n3fGjSM6RVZnh088K/UgQCRAcIg68pxszi1nWSrICQmMfmCo97cFxQgQnfDH5\nizfQ+4QR4WBPklnKmI0YuMX+7Qr6Q/C235rTkumi1NyiuK9lV8e+Hz+rOddd\nV4CtVBpmQPKgFeI65b4w+rEtmDuv0kDtO1XXXBEdoNfmeZMIKPDWeZj8rVat\n8ObzpA4aRj/ZOagfAZ/dQfCqjX4C+lJKg5U/XWa0jV6L/NDSy5a9q0U0jaDt\n+SqKQI73sK9RLdHm/BBM7PuOhrK/+A2IccObPFUjwwm0yW5+OlFKzTKq5UYj\nXM+l+7dX3LhagGV6EWEfystFQrgFw3SJxkskbzJDAYegZ2RM0/UBcwcbcZiT\nqREb\r\n=7qKm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmRclotL75tWlml3TbxXqAB7s/MJpi+dOgDUThONGV4AiEAtpxcE7IXsWXpiQ4t5Yab4l0jXvgPvbaGkjL97TW7O40="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_1.0.2_1609582626713_0.3899413134153338"},"_hasShrinkwrap":false},"1.0.3":{"name":"party-js","version":"1.0.3","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"party.min.js","scripts":{"test":"echo \"Error: no test specified\""},"repository":{"type":"git","url":"git+https://github.com/YilianSource/party-js.git"},"keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","bugs":{"url":"https://github.com/YilianSource/party-js/issues"},"homepage":"https://partyjs.yiliansource.dev","gitHead":"c78d59b0fcab0aec89313bb75d2eb8aef2628cb1","_id":"party-js@1.0.3","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-4nBCbBNJbum8DnV+Qp4cc1HBs3y/jWnO6IGCihOejGWkMMlo5JleS5Z+f+lVAj/eCoXgrSFACPlC8TxAyczQ3w==","shasum":"4f71d645dda015fcb09a06b2dd38636765dab3e0","tarball":"https://registry.npmjs.org/party-js/-/party-js-1.0.3.tgz","fileCount":4,"unpackedSize":17152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8K8yCRA9TVsSAnZWagAAdE0QAItbup1qMvulQXC6WQLx\nXJ0tq+4ocClL/qio6S12gFnnhPv04E1bJwmc7vTfLPs5ZaM4k9pWk2YJQlWq\n/sSNO5tchr9I3WfGNYiWrc/z9KmvI1JKDGorhj49/NnzaapPhBdC2ac4ou/1\nknrQeAdihHz3Bnuvm8arrNd5LQe3B5JCaFPpg/KdSykoFF56Qfr5NFuvfpkO\nXM9hNWVFJHTaMdG6tkdH4uFMcVpGOdWKHMdHs2EhSsO2csPfMFTd2wKbZkC4\n2O6L19z6Ygylt5thrPrIDkDnP9VIcHU3k3hRuL7xkXZIyKVYACodkaBg425y\nfLx+GHGpEkKC8L26MWKOI2oMB1mIN2nkCVahHlwoAFSjXK/fOT5vxdOUDPFa\nnpxvNCG6kUkATMG3OF6VDZpVDwoqteBPuReoxRu3YV/zTuSTW49jd5D68OPw\n1tk7Tmg4IhY8xmxhlmzh3NC62XfaGJlztlAbUYi1/SZsz7mfVsxkPEPNkhux\n6dyCGnmkign9ioluGlwgHhrZeU0vEoRjR3AXG2FFhAH+MmNL0XwRGwA00bqs\nV65IZ13KWntojrc2TXTDcgjKGnAGUsklzpwZiiwcbiARxYVmKzk6xBgUsh7N\nakh+rhGzGiX7ZEq27mwwu4aTv0tEVw7ORQQhJ/yTdRbDbCATkaTR8toPFlhI\n8WPi\r\n=pwPb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWffvzoanlU0j0NgrZXZ/JoXIE87aD+BuOuj605oyelwIhALz6LBPC/Kt6SUzXWe1KCgfKjKBne2ZZ3tydxs8BeEDu"}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_1.0.3_1609609010260_0.5937309136892672"},"_hasShrinkwrap":false},"1.0.4":{"name":"party-js","version":"1.0.4","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"party.min.js","scripts":{"test":"echo \"Error: no test specified\""},"repository":{"type":"git","url":"git+https://github.com/YilianSource/party-js.git"},"keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","bugs":{"url":"https://github.com/YilianSource/party-js/issues"},"homepage":"https://partyjs.yiliansource.dev","gitHead":"79fdf1a83c61bebc34a171992c59ffc142530d74","_id":"party-js@1.0.4","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-xKqEd2zzQHKSBVPB8fB6gDDv4HgvZig2pXsskokmCE7i2VDAb74G5pn4VwE65o418AYBcEvePoYTdB+0ZN0Pfg==","shasum":"e44891d7b67b91fe0a7d6557bdf64d003e28aa19","tarball":"https://registry.npmjs.org/party-js/-/party-js-1.0.4.tgz","fileCount":4,"unpackedSize":17280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/V3aCRA9TVsSAnZWagAAJN0P/iLlIs7z9WFYR7p0qW8e\np460v38TlcbXmbgUKRf3pz86AMEWIykjRqdkOEgY/HePjFqSQOa25Gvc/HXa\nTYvQHROVXVVnlk0UkaxgDQDBPBswv4SO2vSxRRBHgmhY3nzEC9E55XOq7SlO\nicptLIS4N0iA2k2dK0kF3ZpSOi1CZl0eDbGIq3CIpbsKq16Qtsoj9ibkAT2S\nfC6SiH2iNiZnX0aPFkv8hl0viEg4Tq5MWOzKXwO6YRM5wfdz/JuW3pwiMZ6B\nl4XoKr3Ke3mTHI21PZbEmOayio9X0sQyO28PcQjTxyr7Z3FiVWCL7hkQE0zw\ncgJ6mYfJxJ6k+aCVAJWnIyMqUbQfT+YpPhbBoGodrL5u29umd8MMmz6dI7Nk\nJs1gAxydFFextaNBQIA2BFZATpZb8JcQlUYv/PFPeHx33lhCCkdP58FZh60p\n60SlrhhVolMIDlAKO073Lo6BSoNzOSu/0ARGBjZXge5QpXJeVG1CmWsvkR8g\nrPkS2pH6QbgP4jUyclg1kriuqo5ZxdwV5mFWPBy/3Efip0lQRt0VEytCr12z\nRVl6T1TK9dXyjIS3Tikp6xXByCPyjmKJ56ESNsGPRGWC7sEJFISAjIR9Sjux\nCR5nIMdrY5uRUnFelD2g6Eszmpagyf6WBn+P+h2WbeifZzR31h0XzxWqiDN2\nhU9U\r\n=KFbi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMf2ZndbJt4k18Pyj1rkIMWzq6j3pqvDwkoyaSmtUdZgIgTnQQOIX0UStWw4R7Nr82widE97iuW/0bFiCp9jz90zM="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_1.0.4_1610440154114_0.7450531614826794"},"_hasShrinkwrap":false},"2.0.0-0":{"name":"party-js","version":"2.0.0-0","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf bundle dist","build":"npm run clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"npx eslint . --ext .js,.ts"},"repository":{"type":"git","url":"git+https://github.com/YilianSource/party-js.git"},"bugs":{"url":"https://github.com/YilianSource/party-js/issues"},"homepage":"https://partyjs.yiliansource.dev/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","importSort":{".js, .ts":{"style":"module","parser":"typescript"}},"devDependencies":{"@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.2.0","eslint":"^7.19.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","import-sort-style-module":"^6.0.0","mocha":"^8.2.1","prettier":"^2.2.1","prettier-plugin-import-sort":"0.0.6","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.5.0"},"dependencies":{},"readmeFilename":"README.md","readme":"<h1 align=\"center\">\n    <img src=\"./.github/banner.svg\"/>\n</h1>\n\n<p align=\"center\">\n    <a href=\"#installation\">Installation</a> •\n    <a href=\"#usage\">Usage</a> •\n    <a href=\"#contributing\">Contributing</a>\n</p>\n\n<p align=\"center\">\n    <a href=\"https://www.npmjs.com/package/party-js\"><img alt=\"npm\" src=\"https://img.shields.io/npm/v/party-js?style=flat\"/></a>\n    <img alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/yiliansource/party-js?style=flat\">\n    <img alt=\"GitHub Build Status\" src=\"https://img.shields.io/github/workflow/status/yiliansource/party-js/Node.js%20CI?style=flat&logo=Node.js\">\n    <a href=\"https://partyjs.yiliansource.dev\"><img alt=\"GitHub Docs Status\" src=\"https://img.shields.io/github/workflow/status/yiliansource/party-js/Deploy%20documentation?color=blue&label=docs&logo=Read%20the%20Docs&logoColor=white\"></a>\n    <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/party-js?style=flat\">\n    <img alt=\"License\" src=\"https://img.shields.io/github/license/yiliansource/party-js?style=flat\"/>\n</p>\n\n## Installation\n\nThe library is written in TypeScript and compiled to an UMD module to allow integration into different environments.\n\n### Browsers\n\nYou can grab the latest version from [jsdelivr](https://www.jsdelivr.com/).\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/party-js@latest/bundle/party.min.js\"></script>\n```\n\nThe library instance is loaded into the global `party` object.\n\n### Node.JS\n\nIf you are using a package-managed environment, you can also install the latest version via [npm].\n\n```sh\nnpm install party-js\nyarn add party-js\n```\n\nTo use it, simply `require` or `import` it.\n\n```ts\nconst party = require(\"party-js\");\nimport party from \"party-js\";\n```\n\n## Usage\n\nThe library essentially offers a fully customizeable particle-system implementation into HTML documents. Users of the library have the ability to create and fine-tune effects to their individual liking. The library offers a few simple effects right out-of-the-box, so you don't have to waste time re-creating simple effects.\n\n```js\ndocument.querySelector(\".button\").addEventListener(\"click\", function(e) {\n    party.confetti(this, {\n        count: party.range(20, 40)\n    });\n});\n```\n\nIf you want to learn more, check out the [quick start][quick-start] guide!\n\n## How it works\n\nIn general the library consists of emitters and particles. Emitters are structures located at a specific position that emit particles, and particles themselves are small graphical elements that float around the screen. Both entities are highly customizeable.\n\nThe library core spawns, updates and renders entities inside an animation frame loop. Entities are despawned when they leave the lower bound of the document, or their lifetime expires.\n\n## Contributing\n\nFirst of all, thank you so much for wanting to contribute to the project! ❤  \nPlease refer to the [contribution guidelines][contributing] when opening issues or creating pull requests.\n\n[contributing]: ./.github/CONTRIBUTING.md\n[npm]: https://www.npmjs.com/package/party-js\n[issues]: https://github.com/YilianSource/party-js/issues\n[quick-start]: https://partyjs.yiliansource.dev/docs/\n","licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.0.0-0","dist":{"shasum":"516996aa73441d1c86eaf353c639d1f2949e3d11","integrity":"sha512-nJKISoNSnF9Zq2LT4nV3RUwYa72DKmTs3583GSs8TJ+970UfD+OvQdBJWBHtKg4hRPxqPPENGixOpTo0LYa9sw==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.0.0-0.tgz","fileCount":132,"unpackedSize":489436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJge/6lCRA9TVsSAnZWagAAxl0QAIMWbDwV+W1DOcfhmiWe\nCPbGObBsWnOP9WXHmj8eTbAVrkcs4KdUxDzfhOqyaorgpmnnCzGx5vki1QUt\nvXLsicpLpd4ycuOL0w/9ybtBOvSwMfNH0/kO5NpZU1nq+PpsIUjcRkrVGNrx\n12jsRS8WGsOMB/h7nRBBTbrMWlEvzC6j4iQgGrg2bqk7XUzdni/XrCVbQMk7\n8pGPGYnn1VeGsz0GUvM2c7jlWjTCV2UZ3E00PkD9novV82LjaFs8g9g0txoL\nwxoDBBoxeft6EC6DSPfXVQt7v8VYlQVJyZs6WdruPjCVYnMML86oGSCGkFAx\n3rdb5lGczYJ/ojL2jkJpK8kJ6OYCRV7tDZ2tR26E8OrBqg/2CI5BMFG3HBe3\nWLrxI88segTPCV1Bbxp6jHw1rWCOJp1a5mzFP7sPfgTDAoataX0OSAlyEDTs\nHlkjcJXy++1HU5kTXq0e0WR6ATb44vK4e+aJeE617uZoWgYemR0jmlnsDCCs\nvi9WC1Rru8rbf+J/mX/QXejJ83FEjSJGGBtpnld9/d1jiQ1u8tF2y8t+bMSU\nk/xAdx/BPYZmDQR7SCMQm+KM8xX1bMkvX8Tal9Hpe3LHgRVLk8cE5boidiLM\nlXdY7OoBoL94xAB+szR6KAc+lmvmhCXauPex66iiswm4QgBm/4ACcKh77Yxe\nNnrC\r\n=4Eru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCdZP5b2mNNlM9lg08AbuRFnKJftIJhSzp4BGXUwxCcAiEA7TaNnxQ7i5VqCEHow6D6XXLCgouLrshfQ8ALgpKLuxc="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.0.0-0_1618738853192_0.7232091582276403"},"_hasShrinkwrap":false},"2.0.0":{"name":"party-js","version":"2.0.0","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.2.0","eslint":"^7.19.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^8.2.1","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.5.0"},"dependencies":{},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.0.0","dist":{"shasum":"e7c3cbe820492f1ab41ede41f9af46cdb2e931fc","integrity":"sha512-WQA10dykslYf/iHN8sYHPRqSujFiVQrn85On9iTZnhw7PxXF23EZEn9SwFYhlNTq/0O5ieorauEc09jElyh23g==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.0.0.tgz","fileCount":120,"unpackedSize":543953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnQvICRA9TVsSAnZWagAAWjkQAJBl9dqBcCiTZrVT9Mxc\noa5gnyGQYdR13M2Jyw65KWXStyGyGkD3y8IuMogG/jkeNGQm5yAqjtr+N9xX\n9AOA6Omh7NbH/IGHfHEe/rAiu8NLBcUyYlOiUJfD39XYMm3sw0aXFY+RIktA\nzN8U3TXORMbsGugqf6I+F/jCI9P4y2T8ZbOFJfwEl6iNmYfgtExLvrU04/VO\nzg9YChol/+RFJgKh2dn6tEYem/W8e+2MojSInAbBmVvwdUbz+LFj7BlUENXK\n6zCt33oh7i6Qxl380ANjqORlCQGbnDk6FEz0KSw+y7KzwTz/OphLHJ7fEtmD\nP8RdeXpRrP9s3U369pdVHVPRb+uzshaPrnkyPQlYphe6B5+fsdql8Xxuz7Wu\ndnqo9kF0JYj4F0fPNco21SDJsG8LiRpwh5K/KnZmzVNhULoJZfm57AWJ5i/T\n5X6YDUNqkTQNCpAZcH+NKCTiMGW7qy/cxi9/lF1L3p7SkgNfXaglvWAhdLxx\nZHAKn/SasxWaiLqnimy6VpZMoaD6m6gQ0VOhl4/CAY9hfirG1H+ubCUh7K4Q\n55GrHdtmQmSzSg02xyjY/0O7eMdVfiuNbvhkYZp8Dnhl3Ue3c38qPYdM2d0i\no3jGuMArOqlfSQNXYCyjg0qtr0UqW8LdGwGzvrAl4GXsAxNBDz+RyA1NMVrM\n7JTz\r\n=9RkW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwippMkJ7MdqlJ7L9CFJOBVVOOOFo0Hzgm19+AEzGPtAiBJCpyj4qSj09t8UwqbIpiBF1HPOAc3EAWwcHl6uolvsA=="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.0.0_1620904903595_0.6375938018525635"},"_hasShrinkwrap":false},"2.0.1":{"name":"party-js","version":"2.0.1","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.2.0","eslint":"^7.19.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^8.2.1","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.5.0"},"dependencies":{},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.0.1","dist":{"shasum":"a22d59270a4638da854b626f85e4dbac6fced497","integrity":"sha512-EUb3F/2JoFfMTZncr0HeFfPnsK4VFmTMUUThk7IpG4Byb32Rxoyfj7NN8Zab3yqOp+y3ZWBW/T5YzZ/PCfJVRQ==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.0.1.tgz","fileCount":120,"unpackedSize":544102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgombpCRA9TVsSAnZWagAAJKsP/ju2B3IHE+uiyFVb6e/W\neCPdNXDbt53ioXWzEn7bO8zwdCRg54nRto8Vr8Go3aE7LqAUt4Ysy1VAfH80\nEZiNCwSm+YoI/m9LUvDGV58wcMHxJQ8NJI43nmbO68U2mSQQSQrHK9OiVFDx\n6f/rJ4nypksWvLDAgAV10p6LR8/Vs2GAJ0SFtnNHeOqq7YS6spVcBzsb3z5g\nuGabZN0hBvOeLmwz57akUGLlhRxsircEM+VSfsIwWm4R9rJciPDy3+1NT+zx\nvL7t4WRz4lPoY3jDrVtsMFd6muq5HHsHPfnA9jCEMnAXcfa+ab2xsi3njXZm\na5y/AHmSlVpqnKsLhfUxC4czHWfOZ6lQbc9jU5uhC8WsoxAXkdVKk8l8pqGF\n1QNmRe4bWSXCRaUF0p79XMXO+jRdTKeTsERSX4AtkSf0S9xEC1rpLjReWoHC\nU2BhVeOnimfImpd0r0daQhAxZuP/fBIMDWT4og4MRZjhyZvgXrEbtGs11edA\n/148ngnYDj94Euak+4Un/8cMIrMUma850OzYUHC7v++yYvtJi50bB0df3mwa\nLz5FqtwB7RO6ULcODPlWYlfiLgOP4yeyII3NEzwkvmR5pkB03pR8ti1t8veu\nDKQsVOmy+o6LbtvP7bgI9b07+7Zjn2d4Yn+/ncWAaIcyxp53ZCjtGUGrtQjQ\np+Ts\r\n=CtvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjXnXa87M4Ya8D5Y8XFuhrx90zdqWLxQPRmDK2hYxxRAiAWh4v7yD2x2/BbKFTSUQJzu0Jh1NbMIN4W6Wmk62i4mA=="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.0.1_1621255912456_0.4822759548206539"},"_hasShrinkwrap":false},"2.1.0":{"name":"party-js","version":"2.1.0","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts","dev":"webpack serve"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","dependencies":{},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^9.1.2","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.8.0"},"optionalDependencies":{"webpack-dev-server":"^4.3.0"},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.1.0","dist":{"shasum":"5aa4e44d82b333989022c125c1678b625686ef81","integrity":"sha512-5WMMDbzgFabiPOfC1YXy1kj0tkmfoCHwkyqKdONe4Zb1doF0WN9Z5qvLF+WuKoQcuJNpWGS/5qbJ0vP6b/Tu6Q==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.1.0.tgz","fileCount":119,"unpackedSize":544058,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgvyl49PC+XhqSWV9OmjBGBbLF6DXEOa1CuP7UUIClOAIgbLgHfxaAGARnnhK+IyI9Yrje5fezsoHMPSt7GDoQ9gU="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.1.0_1632645742847_0.20712547100082324"},"_hasShrinkwrap":false},"2.1.1":{"name":"party-js","version":"2.1.1","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts","dev":"webpack serve"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","dependencies":{},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^9.1.2","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.8.0"},"optionalDependencies":{"webpack-dev-server":"^4.3.0"},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.1.1","dist":{"shasum":"bd5dbeaa446ee25d87c87d94c57c156f4c1eb9f9","integrity":"sha512-npzJz/ub0sK+B4FFwfiV1Ns1aYp8AGTs5g4iE+5yFuDR4d8imevBrN7X2SSRS/rIfN0oPAaQeWUo1e4X9M+Wzg==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.1.1.tgz","fileCount":119,"unpackedSize":544058,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkwgIghx259ANcuqDzaYUAj6ChUFlTtDXtqvu39lqXlAIgN2nylHrVFvNIH2uZv0S8bPaC/6Pzh+S6Il6ojsv/7hE="}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.1.1_1633765059278_0.27917641304362917"},"_hasShrinkwrap":false},"2.1.2":{"name":"party-js","version":"2.1.2","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts","dev":"webpack serve","prepublishOnly":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","dependencies":{},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^9.1.2","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.8.0"},"optionalDependencies":{"webpack-dev-server":"^4.3.0"},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.1.2","dist":{"shasum":"0782c66dca3894cb4a598b7a9aa53114370edb2a","integrity":"sha512-nCErDELYdR6W8KGJR0gu7NF8AxPWjYoVtDe37ZZdMxFyUGw12dx2zTRHDlhKKLux7k5R+KHiuFxUt80UhXQ+Wg==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.1.2.tgz","fileCount":120,"unpackedSize":546542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22UNCRA9TVsSAnZWagAA3I8QAJUbnO+z4cAEdFmIvkTp\nh872jU9nWUrmF/joK7bA3FOpaFv9QC6/31b8LE3Oi4QWc4LJqKQXzjNssjC/\ndv3wz/+COaYcsqqvtb4UdJAlswrC6RLEjdDKZvIwKgOURUWcHVWLxmSpUrrz\nrfnATf5gHYUAkz1PXKMjeF5KkYwvP8d0+7oeGb1fv+E7V6c1WNp2O6PEsoao\nEkRX7uiAS4Itycp9e9/Fj66EIDoCBSvXcNB4Ht4lStTYhhraZd7Z8gnIgVXq\nzcWi/1NSbUEZfjZ0g6RQ7oD3u/jZtfS3+PcQXzwxrtu+9xQhLA8Htk+a5TSw\ngdrRLrlN6ymA511+VtLPSEIdtsvuZiAbU975Jeu1V897kBeIgYT9BGyNMs5k\npZNc+jOB5wkciyqLdfrMyxxKqJ8N0+lZAi3iAaKvR1eh1d3S4ZTkkfCNdU+C\nkG2hwFVHjt15NxGRzBo35PtWPjq402S/pEVOzbCJ1b35mcUFVmPSJLzizgr3\nSeSlJxgbku5gVLVRWvQlWG0kXe+RHXgN2EjcwrtaqYX2UVsdwuvK6LZoJS0D\nvAAyea1EssavtK+LKCZMp5V8BS1/XFZWMU8qJdtGNiF5ZruBpTghconxHJsI\n77TzZdjX9wDYLFwNxAT1igtxmu0BfjpaA249JhpNPpoNBLWSWo0SFNQ3+WnU\n7wZZ\r\n=0r/7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeghAIjzsgZbV/OHAjkBoRRZqb/mwIvXCnmCzbFWUXnQIhAN7KbpQoxqRrI4Axo7NRl0CcwvgXfo2WdK/tWdcNnfRT"}]},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.1.2_1633967367395_0.03644770136402653"},"_hasShrinkwrap":false},"2.1.3":{"name":"party-js","version":"2.1.3","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts","dev":"webpack serve","prepublishOnly":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","dependencies":{},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^9.1.2","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.8.0"},"optionalDependencies":{"webpack-dev-server":"^4.3.0"},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.1.3","dist":{"shasum":"5edad314783d2d37a6b263d6571ff178b7f4195c","integrity":"sha512-SVVCiVEvXwVbbOyEDQXQYZzXy0qHgabCpw4eJ1bDGljlRWcDW67oY7IKU4JALpyXqrExbUZkAvU6nF21u5I3ng==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.1.3.tgz","fileCount":86,"unpackedSize":482552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSc8Ixg+UDhGuBhd74RaYX6l/qAgSclywLeXZf4JcFoAIhAKcfCcuwCBkbvtJO9B2lpP7ChC/469W5xLEHMtCO/C7P"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin4X/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqfng/+MvIxRDR+r0wZbQBqoeCEqi6vQ/qFDp37sim/WPIKcKpaSBhs\r\n3magZmzgOsGlZebplZqumByk0+9/xkz0UXYD3HXicDhpPyA+sMnukdFCUqKr\r\n76WXb1t87EHunBLZd7x716khmScZwhPbuaQSvtESuu8qpf2ENP9AjnVeqh8g\r\nUmGn+KlNRGgWYhrxrLuNg79FumtYha1OcC7qXqIxunz27wzBixhq/9U9NyMH\r\nKeKLSg+Um8nPACI0Sd1JtkHVOR5uumwqs4lB/HRblbVyLdx+lj+h/Urtt4fm\r\nop/Wo+1zSAkl0DMG1er41qgZymRvuor0J37pY0Mhw7PaJbQlaoLYT9jtNiHF\r\n+OZA7kOzWaeUZygG16NE9AUwBtEtcYEWpqC0FC8caGVw8RJbS9RhhW2JdTSA\r\no7E8dOMU0bxH3rKfVkJo/kOSAgPBbRP+3RMMBrLUBKEfZo3Gv6P/AXM77Bo1\r\nk+vBSFCHJdHm0fiqn8ZE0LazvUjEozqSXXe5y3IbqL/BayF/F+dLV6JoGOI/\r\nMRj7VMCRgpid4eaKR2LpHpKCIulwD3I+nFuDSATD7plRD5S/Lfqcqd2RmhMm\r\nYxL+LVaiqsBQyY6Yw/Pm+7q1B1VQWmyf9LC7K2NVu08CMALcYO0ELn+12a+V\r\nHdJppt6wsPUYcgprowrryMHu6w/Wjgj31UY=\r\n=07qz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.1.3_1654621695758_0.2308686164846323"},"_hasShrinkwrap":false},"2.2.0":{"name":"party-js","version":"2.2.0","description":"A JavaScript library to brighten up your user's site experience with visual effects!","main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":"./lib/index.js"},"scripts":{"clean":"rimraf bundle lib","build":"yarn clean && tsc && webpack","test":"mocha -r ts-node/register 'tests/**/*.test.ts'","lint":"eslint . --ext .js,.ts","dev":"webpack serve","prepublishOnly":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"author":{"name":"Ian Hornik"},"license":"MIT","dependencies":{},"devDependencies":{"@trivago/prettier-plugin-sort-imports":"^2.0.2","@types/chai":"^4.2.16","@types/mocha":"^8.2.2","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-prettier":"^8.2.0","eslint-plugin-prettier":"^3.4.0","mocha":"^9.1.2","prettier":"^2.2.1","rimraf":"^3.0.2","terser-webpack-plugin":"^5.1.1","ts-loader":"^8.0.14","ts-node":"^9.1.1","typescript":"^4.1.3","webpack":"^5.24.2","webpack-cli":"^4.8.0","webpack-dev-server":"^4.3.0"},"licenseText":"## Copyright 2021 Ian Hornik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"party-js@2.2.0","dist":{"shasum":"3340026971c9e62fd34db102daaa645fbc9130b8","integrity":"sha512-50hGuALCpvDTrQLPQ1fgUgxKIWAH28ShVkmeK/3zhO0YJyCqkhrZhQEkWPxDYLvbFJ7YAXyROmFEu35gKpZLtQ==","tarball":"https://registry.npmjs.org/party-js/-/party-js-2.2.0.tgz","fileCount":90,"unpackedSize":482892,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFz+h8LymkMds5BqVxayQRpwGpAQYsoGufrjhj55wiCAiApjZa2tTb3m9evSbIbZu1Iuz9dcqQr4Qi9kw9yZzmivg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy+GJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdMg/+IpyOzLD5XZJWnwSZt7FtYY6oGMG+A+ycipaIoDlc4DhxYBln\r\nAzolh/RaaTIgLxnrjp78Etn34xUackanCPp4EIIMQ7f/p+6Xd+pZJlf0Ahcn\r\n279kVe0H/uVVcIuuirc1Rf7tcxtl5jjm1R9+fJTc/iHaPjXeJDoSrC0Oy+De\r\nt9+h+Gsh+7RbgCIgVpOF3Mg7F/6VbhHFm5k6XL8OBXV9m6TmFSjS4roJgRRM\r\ngLwGa188/hNnxA17aDyl3Xd8B6ScUsPH/hE6NPsyyEuvuH3X+sFQxSUZZILF\r\nGeulXWNIJh1SqG/Pz4QGp5eNjs2QaIaB/w3tuzLCVCAUi47ACkM5eY1jaeyg\r\nKOLjMFDJhqNbosOhCGhmHt/qtXyVLNCT/Pxbs4d/+MvsCESYXElQguKivZ2O\r\nmGiQOIVcLmfoRBg+d/sqU6+evPZF9qPJO1AXKCqAtYXJ3vXAH3iiKznm33aW\r\nD/5urYhERbYs1B2zMhWm7r6hI9mmLvAeeYVkDqCLiBNAlmo6trsPnyzlqzgu\r\nsOsSIPacMEVBAn0O+41xnXD9dL1MYSbcFhlFnep5Ku1TPPEbdo8lW1DjC7OX\r\nQVvLMHQ3UcoUeUN55wzstyUptad3ManYBtgQBLKEyWZ+e2TsIQMiWZO3ZGR2\r\nQK0QrW29yL8SI0OJURFzXnJJFsVzNabpyhA=\r\n=SZtL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"yiliansource","email":"yiliansource@gmail.com"},"directories":{},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/party-js_2.2.0_1657528713210_0.8318534460209597"},"_hasShrinkwrap":false}},"maintainers":[{"name":"yiliansource","email":"yiliansource@gmail.com"}],"description":"A JavaScript library to brighten up your user's site experience with visual effects!","homepage":"https://party.js.org/","keywords":["party","confetti","particles"],"repository":{"type":"git","url":"git+https://github.com/yiliansource/party-js.git"},"author":{"name":"Ian Hornik"},"bugs":{"url":"https://github.com/yiliansource/party-js/issues"},"license":"MIT","readme":"<h1 align=\"center\">\n    <img src=\"https://raw.githubusercontent.com/yiliansource/party-js/main/.github/banner.svg\"/>\n</h1>\n\n<p align=\"center\">\n    <a href=\"#installation\">Installation</a> &bull;\n    <a href=\"#usage\">Usage</a> &bull;\n    <a href=\"#contributing\">Contributing</a>\n</p>\n\n<p align=\"center\">\n    <a href=\"https://www.npmjs.com/package/party-js\"><img alt=\"npm\" src=\"https://img.shields.io/npm/v/party-js?style=flat\"/></a>\n    <img alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/yiliansource/party-js?style=flat\">\n    <img alt=\"GitHub Build Status\" src=\"https://img.shields.io/github/workflow/status/yiliansource/party-js/Node.js%20CI?style=flat&logo=Node.js\">\n    <a href=\"https://party.js.org/\"><img alt=\"GitHub Docs Status\" src=\"https://img.shields.io/github/workflow/status/yiliansource/party-js/Deploy%20documentation?color=blue&label=docs&logo=Read%20the%20Docs&logoColor=white\"></a>\n    <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/party-js?style=flat\">\n</p>\n\n## Installation\n\nThe library is written in TypeScript and compiled to an UMD module to allow integration into different environments.\n\n### Browsers\n\nYou can grab the latest version from [jsdelivr](https://www.jsdelivr.com/).\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/party-js@latest/bundle/party.min.js\"></script>\n```\n\nThe library instance is loaded into the global `party` object.\n\n### Node.JS\n\nIf you are using a package-managed environment, you can also install the latest version via [npm].\n\n```bash\nnpm install party-js\n# or\nyarn add party-js\n```\n\nTo use it, simply `require` or `import` it.\n\n```ts\nimport party from \"party-js\";\n// or\nconst party = require(\"party-js\");\n```\n\n## Usage\n\nThe library essentially offers a fully customizeable particle-system implementation into HTML documents. Users of the library have the ability to create and fine-tune effects to their individual liking. The library offers a few simple effects right out-of-the-box, so you don't have to waste time re-creating simple effects.\n\n```js\ndocument.querySelector(\".button\").addEventListener(\"click\", function (e) {\n    party.confetti(this, {\n        count: party.variation.range(20, 40),\n    });\n});\n```\n\nIf you want to learn more, check out the [quick start](https://party.js.org/docs/) guide!\n\n## Known Issues\n\n-   _\"The particles are getting cut off inside the screen!\"_  \n    When creating the particle container, the library calculates the document `<body>`'s size _once_. If your document size changes during the lifetime of your application you can either:\n\n    1. Remove the `#party-js-container`. This forces the library to re-initialize the container and will re-calculate the size. All particles will remain in memory, so nothing will be lost.\n    2. Manually calculate the needed container size and update it yourself. The library does **not** do this on a per-frame basis, in order not to unvoluntarily slow down older devices with timeout polling, and watching for document size changes is an expensive task, as of writing.\n\n## Contributing\n\nFirst of all, thank you so much for wanting to contribute to the project! ❤  \nPlease refer to the [contribution guidelines](./.github/CONTRIBUTING.md) when opening issues or creating pull requests.\n\n[npm]: https://www.npmjs.com/package/party-js\n","readmeFilename":"README.md","users":{"lius971125":true}}