{"_id":"dom-confetti","_rev":"29-e00d54411c969dd8d6f006b845bd037e","name":"dom-confetti","description":"confetti with dom elements","dist-tags":{"latest":"0.2.2","next":"0.2.0-beta.5"},"versions":{"0.0.1":{"name":"dom-confetti","version":"0.0.1","description":"confetti","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"files":["src","lib","README.md","package.json"],"gitHead":"82e60f4dfc23d516f8a2399019bdaae64cf74465","_id":"dom-confetti@0.0.1","_shasum":"e2a41cf3985440d220bbc55809d15dbbff0aac7c","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"e2a41cf3985440d220bbc55809d15dbbff0aac7c","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.1.tgz","integrity":"sha512-yoJsTzKzUk4aHjz+slCktqX4LzcS7WD2SG8Zl2oRkjP3wEn6uxhmDhV/hh8zhI+9uGPI4jUnh8esxGO7mB0f5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJGU9d/b2hajK81sm/hLixSknuOPOnUTYxU8jn8tU5EAiEAxoh6S7oS0FrQspvOKFHW7/ZcWzzWkkcXNSHdW18Dv0Y="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dom-confetti-0.0.1.tgz_1491939957595_0.20312390103936195"},"directories":{}},"0.0.2":{"name":"dom-confetti","version":"0.0.2","description":"confetti","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"files":["src/","lib/","package.json"],"gitHead":"c8f9e604f1683048978ac63ded10d967e567872d","_id":"dom-confetti@0.0.2","_shasum":"1fb405741e9372b1de2083d30c6df045e7c43e24","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"1fb405741e9372b1de2083d30c6df045e7c43e24","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.2.tgz","integrity":"sha512-0j+dgVzUxdzDCJgsP+E9p1Y6Xga4szGLwOmlzHEExRFdCVTDoYYkhB+Zra2ZmpOV96MMVPB3ABQbO7UpS3O8OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEc4wM0rlY2Qpde9unzTWOnkhtcWAemlQsBPoKlCBzEuAiEAzLKon0CkOfmqQp23UCfkk5EX+ms8Yt3Kqrra21AtsJ8="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dom-confetti-0.0.2.tgz_1491941528178_0.6548354243859649"},"directories":{}},"0.0.3":{"name":"dom-confetti","version":"0.0.3","description":"confetti","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"files":["src/","lib/","package.json"],"gitHead":"df1675d7a4565af8933f9560b798df7ca109ed00","_id":"dom-confetti@0.0.3","_shasum":"83bc33c47d464aa67c1bbf8a22c2cf2fe59c5bba","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"83bc33c47d464aa67c1bbf8a22c2cf2fe59c5bba","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.3.tgz","integrity":"sha512-JIPAjlkMG/b6NgTduCTMb+q881tKGwe13Lr0NVFCIfDxufdSmMbfGYurf1K2WLUyW3RJ3tdmmVdgnp3Uc6YL9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCddz4Zzerbn6aQQqglrvEvY1mzgY1OdteE+wHWgGYnrgIgNDWvpbR7U/PXWkUSrIeaaMch1EMnexGCdkw8Cu5+Tzw="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dom-confetti-0.0.3.tgz_1491941859188_0.3651731063146144"},"directories":{}},"0.0.4":{"name":"dom-confetti","version":"0.0.4","description":"confetti","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"files":["src/index.js","lib/index.js","package.json"],"gitHead":"48e71cf67ee519cf6b31e5cbb633093956f9a42f","_id":"dom-confetti@0.0.4","_shasum":"adc476b213015b38d731195f0062c3308ed302f4","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"adc476b213015b38d731195f0062c3308ed302f4","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.4.tgz","integrity":"sha512-qV1Q/ds4EnP2PBCK89+3BTrGpqAcqBLeU47qS8w9mTyy8tceSv46nrm3n9y7Cki2nS4X+b46sjC7J5HkmURrUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA4iFOIxlk8iZFPRw0Vk9TRSUewV4T9OWK0J8tTEpAk0AiAhw0Lctcc/IFRuIx2Rd8fSFjCWqdhrOIiikCYK0fEnrA=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dom-confetti-0.0.4.tgz_1491942510297_0.6138495786581188"},"directories":{}},"0.0.5":{"name":"dom-confetti","version":"0.0.5","description":"confetti","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"files":["src/main.js","lib/main.js","package.json"],"gitHead":"14cb60f4787513123bf3eb6b0b900abe55fa2139","_id":"dom-confetti@0.0.5","_shasum":"3aee98a92d9659e61f19e8331443a8c898976859","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"3aee98a92d9659e61f19e8331443a8c898976859","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.5.tgz","integrity":"sha512-nQSCaRB3tQt7TUcEx5KiEaQIN7TvK3J4mOXiRc59rcD6jikNw5/hiPDvUh5cE20AyGrEg/ZjYzixKKb/0mbSwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8G8nl10UkEy3NRV8PqWQhuqQ5tgrEgIRQE41BTFGzDwIgZ7WV7msWPX5Bdl7xCdXIKkn9IEhvUI5BwWSiTEVmrxc="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/dom-confetti-0.0.5.tgz_1491942745511_0.11742695514112711"},"directories":{}},"0.0.6":{"name":"dom-confetti","version":"0.0.6","description":"confetti with dom elements","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"gitHead":"b6aeafc4b4f0c8bc475fab0f72d47b285a2c04f4","_id":"dom-confetti@0.0.6","_shasum":"52e24d56670d456992dfdd27d2ece4148cfa4137","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"52e24d56670d456992dfdd27d2ece4148cfa4137","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.6.tgz","integrity":"sha512-hYmXbyW1COMJ7HJ8A68cm/i7TlPaHbHpa/WOaqIwiPyrFb6qkrUYjRer/721cgV1Ezz4166fiDpEW7saBHZysg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5/xG8UZUrDu9f70CDuHKp0iqZcYQ+/PCtd45WmZ/oUAiEA5aPJWTs6zADLZAy3oB9Bfcy+vGhjQnbiOWqXhR4Zbuw="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dom-confetti-0.0.6.tgz_1491980204245_0.855619644979015"},"directories":{}},"0.0.7":{"name":"dom-confetti","version":"0.0.7","description":"confetti with dom elements","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"gitHead":"f6539d64c8157fc0206c07bc36dd905321f3373a","_id":"dom-confetti@0.0.7","_shasum":"1d67954bb58d0d55d1c6ab57678d3048410a666f","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"1d67954bb58d0d55d1c6ab57678d3048410a666f","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.7.tgz","integrity":"sha512-dlZAwh4BHDuFtkX1rVCFqwn7uzpdj0mqYaFZ9lhhr2naqjA6E99to3NWPP+ulFjY1jhSZEmk2znett4Gwyidaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc7t1EU6o0Y9dFJxh+8S7WocOmzHFJZeRha41ZiucNKgIhANH7ZRrA/CQ+4oK6iw/l3AMfdfMrjnXJRyQF6+HcTqx+"}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti-0.0.7.tgz_1499326711342_0.5187151588033885"},"directories":{}},"0.0.8":{"name":"dom-confetti","version":"0.0.8","description":"confetti with dom elements","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"gitHead":"f0ca578d012d26034d3154268851ad7ee4a9eb35","_id":"dom-confetti@0.0.8","_shasum":"41ad0dba6c4fd785fd028e6b4bd3eb3c807b0492","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"41ad0dba6c4fd785fd028e6b4bd3eb3c807b0492","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.8.tgz","integrity":"sha512-D5DLwvgA8oLqw3fWF9RgHlw5J18hkdksOhX34Ntmg1qAez5HsDUlocBsr8iZmgqvpIPPriks/+5EoscMLaqIIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6n1Zzt1ooXXb/s7LCXX208dc7FBJfsZ8lUJz3acoKpAiEA9vVVwYcYECi1ZHeA4teKiOX5B90A3QjXEE8V8wP27jA="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti-0.0.8.tgz_1499723350908_0.1709489964414388"},"directories":{}},"0.0.9":{"name":"dom-confetti","version":"0.0.9","description":"confetti with dom elements","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1"},"gitHead":"5c09349acb4b5727e7691ad6c9d2b2742d1749e9","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.9","_shasum":"b760c657b46383e8bb462a1962eef0481c8f2bc5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"b760c657b46383e8bb462a1962eef0481c8f2bc5","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.9.tgz","integrity":"sha512-9Xeg4dxgWZMhuD8AWbeUotTsUUB34M4DkixVzt6www4BVFQjulTcLRT6H1+Q8xHlgDt/ATX8FnPrzlqKVq4tpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAslDq19R9gXtiw6cPuhq0FEw5J5bWdRJsdmtEw6yTAaAiEAjlzkKAybJFhejFq42hTT9RiwSGzZ+cOTP/8AsSh1pVk="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti-0.0.9.tgz_1507838225644_0.1424095134716481"},"directories":{}},"0.0.10":{"name":"dom-confetti","version":"0.0.10","description":"confetti with dom elements","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","md2ghp":"0.0.1"},"gitHead":"a6ba813ddaa4c67224009f52f78a835f7da17e56","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.10","_shasum":"c3f00634c79dd4dacbdefde6a26067259bcadbaf","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"shasum":"c3f00634c79dd4dacbdefde6a26067259bcadbaf","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.10.tgz","integrity":"sha512-irO4BOxMHJXs6J0M/IFxMnUeMnZ/4rqRMMudSsOgvPeragY96gWetF88uLkl3ZXMhNKIjnwW24QukL+iS1nELA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJ3VEK+XLNAzpvkeTgHHzpuvJrOWiYbtckDj3bSrxhHAiEAgsE9Cr2sjCVFpjoyatN3tF312/m2v10qbCn8lXBBkKo="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti-0.0.10.tgz_1508182080951_0.7642196556553245"},"directories":{}},"0.0.11":{"name":"dom-confetti","version":"0.0.11","description":"confetti with dom elements","main":"lib/main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","md2ghp":"0.0.6"},"gitHead":"7c56b9ba4be7b7aae0766f5ccb58b58885bb0273","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.11","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-E55uLstCC2tfK2RrxHT6c0MORu4928IUiJ5j/GBdRvZ3f0hQrAvT9efezWmMkgJwfpUVp2wQe3spV1eUGvBnJA==","shasum":"755bd77544202e38573d26463cd00cf648263a60","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.11.tgz","fileCount":4,"unpackedSize":8313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa05SECRA9TVsSAnZWagAA8eUP+wQ1r+EDj+bMioKgY/Kt\nwrtzU8N6w/8NRtHdIUuKevPf0AvMul/B1kTUXbmUIG3+ib0+uxYjId8jlgXx\nJByv7opsYcr+QVABmMeOSptgNnlbwrqMSychrd0ER7YmqxJdOOS8oJeIWdAS\ns2/npvqjJY6nyGXSI9rKLQSjHSgcc57iLblrWzkE/zA1lBWQK1hWWxx5PnpZ\n9ebX+eAAILHdW7b05NrTli9NEyd8bedRS0on5PbwH0P8WjA6NxPwa+Z/UOoJ\na1uUuxp0iIYCa4bfS+euDS6ulRgaynwsTBTgij5MLvYjKUJ6MD0lquA2R35O\nrWJSzJQvhX3DG3xStdmltmvIjWf1C/981dGMW4JipLinwpcE3p2wcfLL6BRe\nWbk3ZccV9xn/klQ52Ez7Z2c9FknCefw7td39nk6JyLPqyU4mKwxUtU56mKej\nlOJY9ultA458wB4+g2Uehrywi6lY8NQsar79uPAtJNQHGOYp/Xisbo347bse\neI1KbcmvQau/4VIcGZuBoxHBulEV7dY3VwhsryU7Z+47mSALkflTPy0tTPkE\nKcgqpiT33L9EVCUuE/CjHJ4u//44IfbRf7Omitmu2hkkAHd5UV6blCL7Z86H\nN8Psnczmq8wHe6TodqhqQEbofEiS5N6zErngT0gWLr6q+KTZF9dAvuEvjJI7\nTe2E\r\n=Z3oH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8aZaufiV7t7vMblZoq7CweFl6P/EYTMcoeArI1qx4DAiEAhWy001cofCwLrHXSC2PvVWyUxCB0PIBMZJJusPMwZ4I="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.0.11_1523815556174_0.4832016892210482"},"_hasShrinkwrap":false},"0.0.12":{"name":"dom-confetti","version":"0.0.12","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","md2ghp":"0.0.6"},"gitHead":"002083549c816475d0fc48543ac55cf319b56bee","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.12","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-XJ2TvkaHIVv/O8cbIdCq5PP2Ka9qG+JTh6wPgef2JlC5Ebnj/gNLoDqWp0/TTRTkfS7uoKJkmXjSBv1Xh0kRZw==","shasum":"22f3b4579e818ca59f539c1eebbcbf3c21e1d378","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.12.tgz","fileCount":5,"unpackedSize":8612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4KrkCRA9TVsSAnZWagAArXYP/RlVfWdKu8+iT856celF\nAe2GdGUlON6088XBsq2zdre7QynFwoVtTFzxU2VC9VIqQdJRn4PF3a6T7t39\nDfC2ZWeF+VsmhZwK7SM7UJu9Pn/qphUfVr6A1UX5fVQ9JpXV4I5HHZE8aG36\nt5T7Zl0GsOSZo0rMj4QO+t9keRB7vFEepkXTntFgMpYebwQ1woqJ4845iqTP\nlLzHtpudGDjr5nsPtqAIXSaoDFhmAEt4skhuXq2WH8gPe/RmNveOO1ShMaT/\n779pSxlshaBBv94GbEZk0k0rDNf1+oU0Y5TaOXMLwTcAcQvQy1QUs6/YSxok\n7fKetmgNEz8HS8UIIGSqWopyleZJ9rvX3dzS5y+uEsCUwUo3ffof9nrETOyq\nzcwd+x/Qep418ZdZjAHpS6AprEsplZn+2BKPYbxrvJl3tzO9lUh3bonX4f4o\nrD7CVapMkj7Bd+kxyZ5HSLk03JnazW969lr7N6a2R6NJWf6UKBFEJDu2bRVb\n5Pe/9OMir1W0IBjPCj5Kzp/smEn8J+7dVm2tXXIlP6z8k9TZMxlJG0TnBfLs\npRB+In1vglUQpSPlqMorUbjmQEvipxRf6ieo4wxDW+F8XsUgGhn4x3BVb2D8\nQPcNPZVEzbrQ1Fq/zyL0wXWacXuSBa2xardK+HdQcWuRuy9GQgkthtz2w4W1\n5jqL\r\n=Fzvi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5gdoMn3o9Dw6AxIeEH4t0ahHPQBiJZ3volfxJ8OmwrQIhANw6NRW6m6j83VWyiPP8QTFRuKtvpN2tPftVHp1DzBRC"}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.0.12_1541450467833_0.3919363048145399"},"_hasShrinkwrap":false},"0.0.13":{"name":"dom-confetti","version":"0.0.13","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","md2ghp":"0.0.6"},"gitHead":"07979cbe6c65f0755eb0f25a99706874e2f65fd5","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.13","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-VPKtgfjYf3O5hho54wjL1OBe6Mhd85f9QDj0pdYCkIhJI3IFEB2C7Fhh4n9NO7RseuVfrS1jZZkv1yTZEWv2Iw==","shasum":"a0d3695b01528280882f3903c1dd1bf46989ef98","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.13.tgz","fileCount":5,"unpackedSize":9199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT2jpCRA9TVsSAnZWagAAHRwP/jZyMtP+rdwZArJCVV8A\n3WRTpt2hrvpBxhaZZrVpi1gmwwfdZRqyDk4SOftdNSXMjCMehzPyoTPsc2MG\nKvqC4K/ozaHhRAFxita40ki6jutAUSqNGuiNHTB7jjVbmbWQHwRIhb0EIqir\nxnKWYRPcXSM6WkYEDkYu97R+lo8hnGvcCe+XLw9GQvo3/zwBva2gw3Dbcpe9\n5xZ3Nc2b3s8F/KTKKhFKls+KaSsJy+X/5iOP0k8t6V7u2jhQUGOza9Yk3g7R\nm/hVmVituSTOz5c2yA9v/gRFOwglvPlKiDxD/3m13PXhPIXsrXb2xmmXfxmu\noPBFAWC3A8J8m7eKuW5SXfmfSI3w+vChqVuQMb/pOOBqsiIidlR8y0lS0DkO\nrCv7y5wtJ2fQyj2o9x54rQM2gPzYPFYRke2/mMpMfjWiOQxwx/vw15W16ifL\ngLHNgHRLHL32y9g0CNBE6slaygOG8Q/oNmORuwxnPSFCaUBIAZYgS1wmjMM6\nA0Oe5qvCLiwyeHmdG4s3OKjj+pZVHmIBxwjJfa6Ls2pBUJ/zxPzrpjBMu92E\nc9KO+S3U+TPazS4TusWf0zRFnNRUR0wQxw2np/1WMuf9G1ZwFfXj8g59uv0P\nz6E7In5REe5NZ2cei/g3ySGFznfOJmEUkowbYTIjPKvSJgLbaX3PC5T96SGL\nz2Ph\r\n=J145\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDS8xJj02j6TNCiQFnqAUYKAmSWPS9OYulNBriFHE4C+wIhAMJs6Aq/9dVdA1Y6L4y+9wZpYTFLiFfFsGKmfSs9ZkhG"}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.0.13_1548708072616_0.08175651648370152"},"_hasShrinkwrap":false},"0.0.14":{"name":"dom-confetti","version":"0.0.14","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"66eff57d3239c0e70faf387aecbdb31d58c8471e","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.14","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-VjK7pdnzxzDlW5TtoMVXtytXMOHg203VAVANXQvYyYm8p9Xx0j/jOR/XoiEYFb+0/lohi1TjtxNuVF2ZuVBXYA==","shasum":"71464936a839ffcfd98fdf6d551f658d45a284b3","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.14.tgz","fileCount":6,"unpackedSize":9297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT3NqCRA9TVsSAnZWagAA6a8QAJDKJ+YeUNU2sFhFLvlW\nNtOjTqDkFJ9QIlRpOYcFziFM2+eIcdfh9LAw3fws0p6HQGpCBs0eY+TI3ahJ\nYZF6Qf5ydAQLa1Y/V+sfJBSbqEclCJJLcGIEp0C/mgzCVWg+hcvkV47AljwL\nvOsSVeefXUZazm28CVLRvUt2SMNUkZeuGUVHgawewZliW36g5vTTdpNWE16N\n5Rgy+kXH90KHi5yearwkVpR1yaKjzT287e5PfrZTQkK2ZCWkfV2h4unAAriK\nHNBv6CdsLDPF0nUzWO4hxSzVQ7LR+2CxZZnivuhZkRRiA0440DnjhIhjv2No\n7iUsLNtBYCnBJ5EdsoPptKVLKzqkbuH2/4W5Q8WmoUEaKCQlfKeBxm0y7Mz4\nKqHMb9aYAt7Vy+e/1rIc8a07p8dfgzZLDQiOcXFW/alDHE0vYkNEfacHe3d0\nL2q9x99w42A7Xun3l7ERyKTckTLK7EQ47umycVdMQSeN9hiI9ZUeD4qCAq+K\nuVoMxJj1LI4jAm8/ci566yLWAQDkNZVf6my4ZWKIk07ZCh5IU21xHjaf1lLD\ngswCP62OgORUQ0XLUKQXMsuE+3fB/AgpCKaI/NfMhEJnap+Eai/mkntPrExl\nfNYJQ1jcqIIW9ODAea1nhqSuFiskOUnkWPV+l0v/Iva7yZy+VgKJny3mBtrj\n9Ota\r\n=bbPC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqKKhX8kfcaNrI2c+cEFPh11UcKwwMpx3WUSMT5F3RQAiBPROzC6qduvv564r6GeBQB93bltXmj437y+bgPQv9DLA=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.0.14_1548710762014_0.6442745392648004"},"_hasShrinkwrap":false},"0.0.15":{"name":"dom-confetti","version":"0.0.15","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"aa8d72efeff76c311f7ceca39599785be26b16a5","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.0.15","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-KJKrmHcydwoS6bTD0wVM/L7LZz1rQNJA+Y3Zw9ZVYNpx5efqoVwIY2rqY/F2sEpJuGGCRff/o8bAmfQ8KO4Grw==","shasum":"fd7dd6888da3dc6b54fd53326c8fa826ef25106b","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.0.15.tgz","fileCount":6,"unpackedSize":10294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUhAjCRA9TVsSAnZWagAANMEP/0SatbEveo8BrHJ889ih\nytpyn/JNISzNw46JJNXGlj8rt9U//j/xkr4kGDZAPIPUHGDUcxAjc8YETfWy\nBNRViAgAV6Hl3hLE9ByBlQDZ/26G8PiEX/tyM6i5TbYFXb8O1/1f+PpSCrwj\nkyhuFuJbp+lKjylPKv5UcFU4IPjimHNb3iryIpnMuP/mjhKfrbobBtcHRoe8\niRacUJw4ciwKlGGiiYq3oULZo/XCJzNf1yfv/nQwWYYXNYNrruEh0rGzIad4\nY3Bnr9E+RqJHK+NKKgSmvCfrt8IeSQ1+iM3aO+n4l9qdqmMtqnuGEVHHDqIo\nF/eUVIhu8a6nnsRbU3Gk4LGzyeM+1WsMJeifUy5dDkYG14rbnmncI/K2FI+D\nRhz915MNg44NRecUULMuFWeVpFooPjlx/hoHz4ytxKvlOHmduPHvgEeaB6O9\nt6B3yJvNlkTzqt0+WMsv2M8k94tvNmr07OsJdIUfI92/inZRjxohNHDFrdyk\n5qsIz9StlKmTO1IETUCESO0+Lrpc5D93JaqxL+/xIUP8RQwGCNZDwFWbrsPo\n935Ig0NAbryZDlG7DxLMhcIT2Z8Ftq1DS6BmNMvgwwIN5AN97tIK+GkTrMck\nPgASpikbnDlOL1e2BjUcxn4c5014QC+N2y//IAIxMXCptjAeE5/oj7+hn8Of\ndvQm\r\n=6G94\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ+IngXgkV9BxwA7PAn55ArHit5nsqMkau/cHDPdDlzgIhAJIx6y+FELXin1SUGYtWV5HsuGSV785vTUdpKI1cWy3I"}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.0.15_1548881955117_0.6908653822850759"},"_hasShrinkwrap":false},"0.1.0-alpha":{"name":"dom-confetti","version":"0.1.0-alpha","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"774393eef0e0cec218bf72bfa5a3a216356ac6c5","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.1.0-alpha","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-3JOftcXsOuB9Ek9fJQqe2qPDEyHpk5tPUjWy5PME5aEeszr2hhTNaQ+Peymfq0UoGSxMh5VAlFiVSkGvQP45vg==","shasum":"b1c4bd945fd230af56be16ae9023cf46abbe9b1e","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.1.0-alpha.tgz","fileCount":6,"unpackedSize":10917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUvPeCRA9TVsSAnZWagAAKfYP/R9uK1EBtxvO1r/MJ4kk\nBmyX9C9fdZ23DxBfMaNIhB8GxmlF5gKHtsbpdC/lc30N//sdJ5HSyLlpDyUF\ntFWdXQaFfgOAK7JDIdy3UGI+HV4y9V6suiijCyVtlZannnj30mjDZeSxk0yf\nPzPG3R5ScYQQeKla/yRhVje9wy+UGP6tYJSQVkcVJgXcldSptVmFtz10VhBZ\noNoISNpqk9SkAW6pd9SxKQRU4OfxEJorgtNu8YLD2qmCh+8BB8NpJbw87ae3\nrNlClEXXPX9fVtdYy0qm0jh+G1HHK7hP1u/w3T5ZZ1vvXbofXL4aaUSywLyR\n+4kFszqi6+fJ5fq0+fWP1JXSBIp8Hw07dmsPy2HoaBBVIHnZmwch0wTCfQlw\nbLR3cvYP4GOAXaUSB7C6xocHuL42S4GJ2d0vZ1HroN1o9/IAhFEp9+wPpxS/\nRuJBofWVELc9XjFwJPB/9UlIpppuTvfBAcNN6UGaK8OhqXl6xKAbkCuzs52G\nGthZFRXtSAK0HaRITEl0tCqpH7RNwWwrwvxl0PmboHXsn9zIFTtyB1hIoHY0\nyRvp7aJoIcYZfRq0lXtBflcwA1OGGBUdjo92s0mJQMKLOTZe1uLLuGcnkl1H\nl84ncZ/RKD6uQiOH4n77kAlwVplz1aIsP5kJMv1GpH7CupBZTRO9B6DTg0wL\n69Rj\r\n=wxB3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh5RsDZTwgIy26ik9ppo90qbpGuVYDCqWDTCvBqTmR/wIgBCU+Znfb2VYY8zyxqHXEATxxLj6SAV7TnvYeRFBcr7g="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.1.0-alpha_1548940253483_0.02032867508261993"},"_hasShrinkwrap":false},"0.1.0-alpha1":{"name":"dom-confetti","version":"0.1.0-alpha1","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"472c01f1cb06576432d0949407c65f507a108c14","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.1.0-alpha1","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-H0yb6qIKxP9Zf4Ts6Ch4RTb2EINPIQZeYD1+TiKHLxSwiRVeSzq+1MMRpJqvP88Iej4sTq2Z0yyv3N1xiHubaw==","shasum":"d8c019da61753224b968b572569a5f1654016551","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.1.0-alpha1.tgz","fileCount":6,"unpackedSize":11340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU00tCRA9TVsSAnZWagAAGZ8P/j31VMkUAHydctrVVRRV\n/4NWSej1zMSIU3WK+nSZBWI3G5LJUBXGOZSSyfaBYDbKBSQYjaHXvw3S7nXe\nTEGtOO0jFqWj2R1GdFNknlOPeTaCVF5V98XnVk0tVEnhLPk0SoQIxiUMtU+N\n6yQltG0sOzbqcCC6HDRyKwUCQqpWLTArEoSFk5wtLPwrzeTR6XJB6ry3s1QT\nbZEZF4wuiUDjHnQleciRTm/FT8AlQFGsPfwSUQyPM8LrzUSRBFFftVDJXkv3\nRTeQ5flP7rih1JMFw9nbOvdXKkJZYP7PrciLqthQj9i0ga9jVMbGx6FvcVGP\nnXmFsCaCH1EoMwRDJLSpR0ij+R9gn4hvlq+RCnOW/mCnfh3IjDeiPGTUS9mO\nipc4U55SQHvgdeBF1o7moVfBh1YItw2HRs3QBDkELR70A1cMnOF7JKL60Wdx\nCmSUGOQ0U1P0fXVjTIXFjb5jPg+EHLJ4DtAGM27cIXOlIC3Gpb5VvbfDEloh\nupIBZ/dkZOvLU6gZz/kg67Xqhxh76S2hwVZmx/5UyyqNZ3T9VvTZF4vmfYoy\n+D96ZK15zr7S8uYBRWSVhLHFXFmsi8CymLRpSnL2yOpW1kSjgHGlfQ0ZydoT\nxoTT3O3ALuJ5he2iefV5602JwCBBLjznS6er/G0zzLRrp43yxyIYPwNbD4BU\nWajN\r\n=Ao90\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbZkcyI2sbUPksz6MVbuWJTy4nuuesRqLBN1XCuvmxRAiEA3UG1bRo0nXphNAmABJCDodQojO5dZDtiVIdrrZITRpg="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.1.0-alpha1_1548963116672_0.4974960675362312"},"_hasShrinkwrap":false},"0.1.0":{"name":"dom-confetti","version":"0.1.0","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"c9a7203f63bf0e084a1e8f47ef8c8c113855e5f3","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-yN8MrG3AQf/p2L0lNfqdzwsT0fiBbr3s1Ir6lr0MfaN9uKGNj83Ek7JJj+P6GALQCfrTayULQlrbXrehX9F0Rg==","shasum":"0ed5b59878a253517907f2cf15b650219d67c4bd","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.1.0.tgz","fileCount":6,"unpackedSize":11333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU1B+CRA9TVsSAnZWagAApfgQAIC7zUwPfqamT+PZ+txx\nMG53Of7o6g4rIlw+j7lX6nlFNFHJ+pdFxBZ0eD6KoHkPZBq3ZC0tdtXt8VGr\nT4m8QHkPyB0Cd0ABcLNMevqktCGuAGxd3SL1AvBJhIIjs8YA3YRSmnh6U8uy\ngM+fMnbIyqf7ln11pDGx4CBb5A8jTicaqtcKeQvAPuwau8b0sk08ygwqgrsb\nLL6msTzrzOYjknU8CemoBe4Glz5Ygf+sNaHTUKtjxnveotQD1kHboelgXhO6\nFne3OQghbkRQL8IPhrOBczzLMHoYmoZ+jBj50MK3OgDtqLQoe0DJK6etyV8X\n+KeEMIFl+Jc5sxYoJLoKO+P6HtZseVfsPkh9XYsMDLWIRgWUWwzLcFxq3uwo\nUFN6UQWAYjnv+NB9OSeG3LuYJ3wTAcQ61JYbobyIlKZW6tBpGmZgPSq1DU7j\n+Od0KoyEHXBeITodpfWqJCmE2zFyOIE8gCGmnkdhB5OnE7Z3FKe2ZN4amGeu\nLX6DDXRaZU86nvCG+ubrwLIoSGcW8B2FobEkHcCLp7tX1aj3F4gct3Yhr7/P\nz9tY1Oh88MZKl5Yg/lOZzlcj1JAj+c2ppqM1kwqObvUJH30FMJfVLpMBOPvv\nUFxSX1DYLGzAOTZw7lgoecQnyThPGdc5QEQ0XquFcar50gs5uoCQAnraaX/D\ntOC7\r\n=JIda\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPZ5GlCTA1nmFwImO58+N5pyS6tYxl+FZj1ezh6zHiPAiAnFv0K2L9L/4qyJpFaF7w2pFx71qxeemZeg16rVIg1Ig=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.1.0_1548963965955_0.816678874910038"},"_hasShrinkwrap":false},"0.2.0-beta.1":{"name":"dom-confetti","version":"0.2.0-beta.1","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `stagger` - Delay for each fetti in milliseconds, defaults to 0.\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"0fdaeaecbf6b4d90c90cd461ea4dfca50c5b2c27","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.0-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-Ic1MUjkjUMVnOfch/L4n1cc0BCN5YQy3o0Yv9y4g7/xsMCS4e2brTtcdD/BHZYWz7up82k9w80c4oTyHqQGKFQ==","shasum":"c9fac9e31d033123d58283f7d35357d2debdfa1d","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.0-beta.1.tgz","fileCount":6,"unpackedSize":11493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3ct9CRA9TVsSAnZWagAAr7UP/iDtPtWiXUOX7YkxiKdX\nyKSQ80chsteYHubseK+FifO/f80aO0T3dIux/aWiUYj2+xr+rKMSAOlm23Jg\nkXeRjoiiQJU39NA4FoLIQDDwNptzSzP7+7K6F3zi6sEcIfovfU3zoj9HtIXG\n1Q+vi+ScNR4tN+DpqlxwAoCr9fH8s84B6IMCDAnL/uGUjiMk1mNt/vsjLKMN\nMbgiMv1YYcxr0tWL6BrATaqTKj0Z3+tddHJVmGn6pjl8h0I9MPhA5Q/cE5KE\ncaJpjODkp7fwZe56eaTZohNga8ESOTXxJbB+kYlOEMeutdGm0vR53H9jQB1F\n6EnekFgw9XOsCDOR5Ll1FZ2/6j7ADVpLDfF9Pg0VtwkN9Gy+8ysnpHyPzfn5\nh4HcA1+u7ZSn5U/l2n65NnvKFP9qwKdlw7Bqf6u63xCBzqIKkPPrtkcENK3t\nrDjfu7pjuaF7K6FYp65mEs2mthyqtJq2z5eY5juFmxKpUYFaHno2pTX17WfS\nGZ3nBZnZ2/IHffPAMRH54mZdCMcwu6clEo3EkPNTf4KnuOjiqVB6w9b6mKFi\nXie2L0zCRQBn/dEDs0pyZ9wUo3pjN450COykZWYZCP7FHOGO1BhCBEdugcJD\nt935EtHUoV9pe51vldmStovMdq5LAeSY5jBPRQCii38ORYawx/n5WqnYkmau\nGa/O\r\n=4F3T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwo39ToJLu4EZoNuSYqfWjauDozVLaPHQtvMfuEzK8vAiBW5pggzTKjGrtVmICpPcRR5O5JC3FWGhro85ChQymy8A=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.0-beta.1_1558039420496_0.39686487235407997"},"_hasShrinkwrap":false},"0.2.0-beta.2":{"name":"dom-confetti","version":"0.2.0-beta.2","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `stagger` - Delay for each fetti in milliseconds, defaults to 0.\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"fcf6ead06ce09c775a52e743b0eebca338616ab9","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.0-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-/pCmoDPg1bAI49OTzFJRM7oF5IhAL8Q0prweqUZk1U4cKV0q9KrRSdyol18h11Icu+VFp6yUC1iDDocB4JkomQ==","shasum":"a550f91aa4b4c52d253bb1b95123a2a35b91c6a2","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.0-beta.2.tgz","fileCount":6,"unpackedSize":11649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3cy9CRA9TVsSAnZWagAAL8sP+wSZIfipYwzIEw02mfwv\nuH1NFxx8tdJDazpzLG1/CJAQoRiK0a/+W5QR+Bpc9kFgzAajhPq1pGA9cKnm\n05tRPppASDSW/PX0vEhiJoG3ESmg4E033qpF9gZg57Jq+14a8fTSGFi1pQhX\nZNWig8jYGH6gOPd+Fq3E+CJBoAX1Rzg+E7hSR6jw0tKXKt8ctLNbw5RJr2Ag\n0qa48XIUw3KVF+jiHgynKw0KNPpyrTcbkRRVfmQschhlVWg8J/bEcCaXaX4c\n273ltqMArlE/J0OIz4k1E29b9mP7RkVFmdx4xyc+WCIXbVIIs1QW/SnpJhK0\nWlZb3jko0l3jZEAsTaxI9yR5TQF7WkpUGD4e7Y9bXcNh/Ic7CD4ogWYjSnM1\njqE6gmhhIgdOg4H7mk/sfeuDIUL+qTSjM7l8TQpE1SOJdCrALUaH2ZlrFJTV\ncxMyYNf3OH3P1fzO7wg0XVYJu4ioHyuksptLydv9SjY2PFekaOpo1eYHxV3L\nmh66Y0EOPTNpquAwBBHooCQgA5utXhd0HXYybB+aKLUV5mIKd+5OtXnGKz+j\ngiPJqMELSYhreoqhCFIIc8f2FCKligSNhpDfWot6512s6ssBs9lKKWwQL8ic\nDZ81KU7YLOOyS97ztZvIZ4FuwDoPhr/3NQYvvG4aK0fvSLGJyyANfXHao1fL\nt4Kt\r\n=J9F4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPbG6IsYLaKPIPzWpBMNxSy2BZOQ2Ql3DoWoegLby+4AiA+DuCwGM8MsIrF1nLTiwJyCnj7hW9krHgsrbo0BqImlQ=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.0-beta.2_1558039740616_0.8917939166889683"},"_hasShrinkwrap":false},"0.2.0-beta.3":{"name":"dom-confetti","version":"0.2.0-beta.3","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `stagger` - Delay for each fetti in milliseconds, defaults to 0.\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"9d4541b571524e23b41a2f04ca98e913998ef36f","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.0-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-890Bfsu/OP4DLIW9M4pBDEaYCL1Cvm9lQuA0b3BL1L9SoxUarlLKXThLWSPBZ9deXXLsJ0EPHvgl2e3/jNbWAg==","shasum":"a37e9c2f59c3a4455a5ef2e0ce7bd5a17d285982","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.0-beta.3.tgz","fileCount":6,"unpackedSize":11763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3c4NCRA9TVsSAnZWagAAPY4P/Rlhrkwt3OrxbPWu+aB5\ngvkgK8PUPdVgP2VZXTEudmldsZ9aLEp5dQE8etc8xt7Qr2jprhLmrvKsCPED\nOTIUZPvcx5xZj5anI+rYsUC4JXJ9fSFQTXHynclhr25gGpSdWAv7RyKFINUb\nADmgVVqt+o5Swwlv2dmS0QiuF4S5vv4UgViaOmJzQlrDWTx+U9A+pVq5deKZ\nyoyQZ1ZZSiHquQRB9O9JGVNsZVE0jxvRnIV3QtNYQ+GLUnRBTidyvr/ozSws\nB6miod77sn4mGmIL2HWcaPNd2t068qIbOp5CeQr7QCnQdukWbuP7+9N7YlOL\nFPqCYcV2xpnwtQ8b1wjghiWcJ6hI8PoATPB4YvCGqaI2r4rpEMjPIJn7iDPC\nA3X4B/ulzjoabKLmz5weoti49rrVCqC0wV/L9rdE5GfxWlknPTi5GNz3W9n0\nHQtNGiKhtCucrveASUuS+cJLch0IhcWUWcin4LC9wIVaxUkpogArbw9GUVMW\nmU+rW3Sk7UkjUJxRrJ9hza3uZG7JoFjVsMkCXz8RBH7gvW+2AuozAC5RLlhn\nJsUxlrMlzrBiJn9Vi6NhaLHqaaPmWGU+6vP2aY5m+WKWLOysieQuyUv23ya0\nu57vQOIDRs318mEfpdEqtc/I4cV7/1LGHSDbAH9dmpD/qxVxAN7hOiKuCeKp\nDgLO\r\n=R9Ng\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1FjR8jUVXg9cWmND6PGLox197eCYPpchBRXO9igzMCAiEA942qoyY3uA7FvQabdEcUGaFthrOrDC2hF/h7j9Zr6xo="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.0-beta.3_1558040076861_0.8834270279707983"},"_hasShrinkwrap":false},"0.2.0-beta.4":{"name":"dom-confetti","version":"0.2.0-beta.4","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `stagger` - Delay for each fetti in milliseconds, defaults to 0.\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"4dac8d813352abcd9a907ea5740d10532eca7d34","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.0-beta.4","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-CY2aTcJnlWIb5DhBwRuZS1sksL2rQCmtSG50Ceb8pHmKCtkUirLFAzcY2XaJOoDmQES0nCSyV7M+yd90gz7CKA==","shasum":"f262a1b7b2a5b763b0bbbf9bd4610b0af82a0c05","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.0-beta.4.tgz","fileCount":6,"unpackedSize":11763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3c8jCRA9TVsSAnZWagAAS6IP/0BqlSTLtMsk95hECW4i\niNF3HDAKanHy4jnIibDiG7qqH0ZH/aJ3ujhlutCE4zbVg025R3U5uEcC7bdt\nc1xACXF9hUs1RWuQHovsLD7fvZw5zRcrNIn5Xtikt7XaKZg2skS1Hr9DspoA\nHo6ffeHi/V184jIPibKhBc0yy74/O+y7nIfe3XpCD1lQA7y+9ZcsnIch/HF4\n8CE+rtrWZ4lbWxdcnac9/SbgnWCWVN+NKSnztUOr98f+xhw/ADPsVwBFz7QS\ns0AuhyaMhPOrVejm/wQrSsP81FKm8aXL9xKIBRN8UJSVBl2YYPG1cejYRsxM\nhviUPHTey3HrbS7hKvK4er1VzYLTwbrlIAbRvfs5nf7HQGuA1rIBtFDHR2cR\nJDS0FjdZK91bx4keemR2FVzLb5G/9KCjURDi6yIQJX+FjlnyHawBXT+SiZSf\npys8Q9P5lf+wa+NABFdNzvwJspPgbds/+oUaT+Ochx278M5KvKCDIg7u2URv\nIm148pVrTgcsz8ZhhAdTV5aq8nfrYFZ611TyBZGrCJyQGEvUTr+an+sL6PWz\nKMCqwRJAw4i6oAROGevqBLGoGypCppfxGmlY7OzggkzHlpqJuEqorgC7ejhs\n9X+VzemqyjKF2YqYIh0Zg79fgjyeOzTXcLWqhPw2jArosXADzt+0aJ18mSUn\nzPSv\r\n=0EVj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoAD6XOnFL1AWcyWQosDi0Eby8+6/4GroXNgetxuA7AAiAzqlLKjWm624IUEf1mIruinv8BrklrTf1xmkPphqn6jg=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.0-beta.4_1558040354867_0.9606524553805993"},"_hasShrinkwrap":false},"0.2.0-beta.5":{"name":"dom-confetti","version":"0.2.0-beta.5","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `stagger` - Delay for each fetti in milliseconds, defaults to 0.\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://www.twitter.com/daniel-lundin) 2019\n","readmeFilename":"README.md","gitHead":"1714e7547c1c6fa6329bde4ecc9bb155356d59a8","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.0-beta.5","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-6W2YZypR1mRDv/a7nwXeqNgkqpDjshSkPk5poa/RgOZDbc7WwKSbu+6y9+iERlO9Wm9GrnfmWTBVzQ5mKZdCTw==","shasum":"0f997edbb0e9c3fcf20d104f20381affc8955d83","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.0-beta.5.tgz","fileCount":6,"unpackedSize":11797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3c/BCRA9TVsSAnZWagAA1SUP/jlUB0uJRFvVpvtb+bQ9\ne44u3E5c444HySDsEX58vWIkNBOj/WWmOvG1Co2uUMwwj58E9cokhPmpSomS\nRdyj65CTtgb2ioFq/3000svXlYN/Tt1X7GrjXgLbn9aCHPN3mCJhI3C4yIgV\noC+FWsz1hzxOADQL9RfQUcskDcBo8jxvxLaFi3SDTDXziHQKp+8dwJCQHJpH\nrDl6u32AE66fx7FAwcnqlyGS5s8THz96bwNX7PC8hph1vVmgLod1aOO4uo/R\n3FUH34ITn8peyRJPM0jXXefT47VKxa7xuHnEEg8szjB49TsGyvLlk+ytMscS\nMGT8U1JfGWJxZDdLEYF+wtJeqQNpyzcxJ/G5GbebavlGLmvfUBswNHwYBYOE\nnsg123iAL6YxknJ3sV1tIaDmVRvrpGv/LBIisvKSn42d7g9XxSIO4DbmCRRo\nL7vG6K2wDReiDI0esnKTTrUzjdOH2xTOB+/1qODMUcYS7BAJ0ISjtLN3Y+Wk\nwrl9KoGGz3uSNuYWJSjaPIKSZUuSZgO+SKNr66lg9jiusG57qiZ98U8B2ees\n1JhOqgeXwpk5e91Tvkt7jHq1QniN6fuMwJN25OFCv/uIP2+cKL+cC52jX+qx\ng2HpNkSV1gPkIOWCZHCko2pfABStY7rkG+ekDjLw+iLOhUxZ+oh1ZHGx/sOo\n6lej\r\n=gN0s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNZ84m0JTdAl8FZLITrslZ3gU74KddSJ95LON81Vxd7AIhAJTOrZQWwBgxtL0lIkxNyYQ/RRf+IXCiWk87ZJNY8D1d"}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.0-beta.5_1558040513175_0.6969141550893094"},"_hasShrinkwrap":false},"0.1.1":{"name":"dom-confetti","version":"0.1.1","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"a3309e090c5344dfb8f24f65892fbc29cfed03bc","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"dist":{"integrity":"sha512-cyTs35FOqOlm+9rC8C5p0BFo0aHR2t6VWHdXmvgUEFHsF/P7tZeS5nw71oX6NifJrlxOmZ6VcmCH/hn99mqaAA==","shasum":"f53c355301286430e9f500567adac5041c827468","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.1.1.tgz","fileCount":6,"unpackedSize":11790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3dAMCRA9TVsSAnZWagAAwssQAIYViGaXgLoLYkUG4EBa\n11jXWP3m/E4eNyNMxVd08y5qMhyrmLz+8B+w0g5VI1QrVOy9QgEmXVO0tdyh\neBqd7RKfzFhDmwjI8NNjyfDQiyEprcI4rrOgvaCfmTRsc/putzlfz/SIeUT6\nrqHFYioyZTViE6AOtxGSa7gI6CNni36tL+meqQhsdSxOz+tHXhkf6hcTLYxn\nsbP4p5UXr/Pnv6LAdhA2e5eVXXypThB+rTqsh+SBIL+OIJWOq3n+DuREwMTO\n1qOV3C8TapjWFWl790UF5tD6b32lNGjDbza8TveGM3GscEU3+yUZ47aitRh2\nx91WOPnNkwAqxBvreTjvKTiNB8BoDrP4O4B4OE3vy9tDIlfheWrEUNVkgEFW\nvaOuhyW+PIPgDSnEm65SJf1BiDX/L+2YilAliBKFVSJMRI0RR7OoNP0cWXS7\nLZw4QS9atfQUsBkMQs5dKMtrYIg3hX/3IBIfJoRK6BRLJgfERVs856+xU8cF\n5WMq6HJg0i3ZFjviWpqoNoEb6kQR5MieiVyapGJZhHDs0dKTwKvKQ3lB28F/\nTnfduBXHASB6+Vq0AVNNhjU+NY1113zrI4OggQdU6vuh1FrUn6GoHJQjGXU3\nXfyGt6l4///xNP5BWLkfxGRlpcdRxBeayy5oU7yIL7hJlBPTN2rBhwE7nNOE\noR7o\r\n=yBuo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwKBzs1HqT1a8gDGiezEL/+DaEjbkDwUlEK1jhQ7Hx/gIgLe8Fxj1+hUy4gV8hU1xgd1Y7+m1LbCyai4FDcgh7WkU="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.1.1_1558040587886_0.32850591688419684"},"_hasShrinkwrap":false},"0.1.2":{"name":"dom-confetti","version":"0.1.2","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"297f8528256be9f9a087f90b0ead9121eff7a8cd","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.1.2","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-6Zo1pJEbEW1/GPgmk7uGWnPsoZ1E1vF7pmrPARnN3tp8L3ReMr/SIyLl6E8mGbu4DermzDWXfa+be77HehH2MA==","shasum":"3b3acc4a5469e88fff43f2edc14db71a1cce5eb4","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.1.2.tgz","fileCount":6,"unpackedSize":11784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe92ELCRA9TVsSAnZWagAAnMwP/RXfcUqQNNpr4gAARV+/\n2f32NH6nYmtAyjSQO/Pm+ZxRQBUVx0Rb1PVFHWMFn0olSa5UvIZM63H40Rut\nTxR5MRTqj7TjjJ7FrbqU7VJBF6yftNtwvO6i1zi5OPuX4+Zh5Ac3H0/4ZkhM\nzqDfRUbg2+QM1JJ+oupoNxm8KFEdyTHobrCVPajMpMMgJP93iH2R+H48+Gzz\n+JxwpOtQcdJep73MR3JE8dEy1b9ir3uP0l6Xh7dmAyTVZLnhbF5Kkq0StP71\nfqe123D27R0z9OX9CBbuEm3MA8gXUlACWq0U7hyYW/D3i+RoWdLZAI7f+JU7\nTs8hBIHMpWF9HraCT6uRuI0OtPE1ZYQoNBYe3jt/QS94QLpk0IeD5QGyKt0H\nYNLc4+il5RA2TWiKCyuHt9Ej+y2ygBBmeN/GD74HrRAxoR/nu7KfuBq5oKrX\nscEjN75jNAzdRFvri//7TleG74qjLVNWpQA+vw0Ro0kOGCBS6rXL/IKr+Un7\nUsrKlxe4Ii8yUwUOA/Cb5/cyS9EvARcmdGriLwvLs/IsUN3l13R+9CcnYOlM\nZCFqzayaFjlMymc/+svxJI9Eivm8R8itudAIvVZGl2zRH88H+OOrAi1cjvB+\nndkhI3H1YhG51QMqdKMLAZIBvjV4sbvpZN/NMNyJGogftzwhN5nyegpLdVfO\nctFM\r\n=Ixt+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBu7YE9rv2VSJqC3S7WRfkZvCCFdOZRahRvbKAmuY8UHAiB0ltD4JZfadd1lsFX8HS4GkSlr1ZwITqfN+OtZsfIpog=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.1.2_1593270539195_0.6157246360715887"},"_hasShrinkwrap":false},"0.2.0":{"name":"dom-confetti","version":"0.2.0","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"1cf30578139f48a70b816bfa64544745625091fa","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.0","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-p2NRf5o2Ydjgf7ijj23qJ2vK4/FRttM4SISGuovPT9wQVvELetbbM1a8cX7z1uZ5yG/ZPczhzQIqkHhO4cCQuA==","shasum":"64940aa1b93b34cbda5148975cff9cb42d0d8c5a","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.0.tgz","fileCount":6,"unpackedSize":12252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe95VUCRA9TVsSAnZWagAAoNkP/3uYXZydBoo8ok7XClJu\nHKmTjCJv7FPD4/GA7fMIjPR51I++efgZ7oxUAy8P1vRd5YN9jHRfsEdNn+Un\nRdeQYwqnihBzDHZp1S4oGwI/cdck2d48QT1FX8JKlTrzbA0m6Hk06MhOIcoa\n9j2hu8k9y4GRHGALso1/vbna60ygg1ciayvVcpcOz5GBiCjqvR1g1cAUXm/n\nBNOWZF4onch+iQqVJ4O98WEJGe2DBseqUtBMJii9HhtpST6vpRZxppChwLvP\nsoDEUXHupiacfgOnS4CAFkbajAmsLIyI0piXa9kIQozceZ3snoBhG2zE2fq8\n5tifjUguGJFyBRaWkLakb7npwSLkOE/kTeatJODYX9mQBxmLn0y7d1CYcKdy\nB/I1hGjFDppnjCM1Wqgp8uZULGyg4wsS80lX5gGB1RDVFLQ4A0gX8waU37dS\nYK0RXUVJfDrNHSPBbD3hHeZs14aajI2jOHsB4K+3brU++3NhLrDyKlCtCWjX\nytHH0TqRr3rumFxoTw4zTRvv1F2wsou65D7ranvUHhfToah8icFQ1HvVAWXD\nHkQWywH4kMMQpkJUHkq+b/aa2Bi9Hdd0VIkH7OvoiVSOp+9SESWXBLi90osy\nqAmV6MNt/TmrjyIr+N+XXvD9zqtB/2l8GP4ZlajFxly8NLCkP2927cuOwhQU\npbbc\r\n=WGkj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlolbEMJb88D6XJgxzQLCWk4rigz82stguD636WV6IvAIgAMg1kqaQrtL5MqLreJafWiNaL5m899bmG11HV6ei4lw="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.0_1593283923643_0.8109078142589019"},"_hasShrinkwrap":false},"0.2.2":{"name":"dom-confetti","version":"0.2.2","description":"confetti with dom elements","main":"lib/main.js","types":"./index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run build && md2ghp","build":"babel src --out-dir lib","dev":"babel src --out-dir test --plugins transform-es2015-modules-umd"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"devDependencies":{"babel":"^6.23.0","babel-cli":"^6.24.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint":"^5.12.1","md2ghp":"0.0.6"},"gitHead":"048ca6e282dc861c90a4797bdda92ee945420467","bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"},"homepage":"https://github.com/daniel-lundin/dom-confetti#readme","_id":"dom-confetti@0.2.2","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-+UVH9Y85qmpTnbmFURwLWjqLIykyIrsNSRkPX/eFlBuOURz9RDX8JoZHnajZHyFuCV0w/K3+tZK0ztfoTw6ejg==","shasum":"bdf2e7652d37b5cffb532c0a3263d108dd8a2363","tarball":"https://registry.npmjs.org/dom-confetti/-/dom-confetti-0.2.2.tgz","fileCount":7,"unpackedSize":13133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe958yCRA9TVsSAnZWagAAuacP/2ukmpxhruOyD8Fj5tOW\n8oa8DY/Il86T3t7/2bjToeYWgDt0GUU2IXvjTVunS1AOSE3Scwi7isldbeHq\nNcluVM0gUbKE51wSBxhrTPupAHqxFtKpH7pPHX3WIS/oQGzxHJ5HxjWTJoK5\nHYlPP1GprKgmYsnMchMGgmaFMEOnLn7cFvqhfoki8wKZTQBG//IFiBoEUvsv\nMwy91BTunr3ggskSqRJohrTi3yByVRX34s8gRYQ4JrwNGFuua7mjPHj8dfDL\n9ZREPK24vethjdLCe6FKWhCjThUIktkh4P0eSklKCJ2lbaztxlgo/hFBZ94t\nfec0k/HAXG0vFLhtSOjz8BQGmhyGC7jizrRcW5NkGBCmH1XitwOPAbJSW1Z3\nWKBc2ktbS3fP13Kkoj9Zfsl9d26mc07PSoA/b9xoAw86A2x4Ta8LCa+T3CI+\n3y7/j9PVIgzBapl1MP2362KFj0CrLcgNPBNliR5PCc509HATXl2xbzBWlfUk\nClKoxfMfbznMpwPE9hzv+ZaxsTYuBxnl+DeQex4YyePU+0Q0NX/RT2Srz+Tj\ne9R8rvJDJWJ8j1YrJpmBHAbFuN9QPbuntHt67oIwdz7QOjvUOvLUhUW18DGn\nmuqwo5RWoxwj6+HpC6GnTBn80JmDN1jTenESvpRHftFRO8jjI77RGhQ0ks+M\nw8ay\r\n=3oxB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0qNV0zl/xq1b7o6rTI/Ku2FCiJVdydCMbGyILNcV4rAiBPIJOzo7irU4wwVRZO/fr45NMfb70oh5eN9lJE6HrDrA=="}]},"maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"_npmUser":{"name":"daniel-lundin","email":"d-dog@d-dog.se"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-confetti_0.2.2_1593286449527_0.061497977583924834"},"_hasShrinkwrap":false}},"readme":"# dom-confetti\n\n[![npm version](https://badge.fury.io/js/dom-confetti.svg)](https://www.npmjs.com/package/dom-confetti)\n\nTrigger confetti explosions in the DOM.\n\n```js\nimport { confetti } from 'dom-confetti';\n\nconst button = document.querySelector(\".my-button\")\nbutton.addEventListener(\"click\", () => confetti(button))\n```\n\nThis will trigger a confetti explosion every time a button is clicked.\n\n## Demo\n\n[https://daniel-lundin.github.io/react-dom-confetti/](https://daniel-lundin.github.io/react-dom-confetti/)\n\n## Interface\n\n**`confetti`**`(root, config = {})`\n\n`root` should be the DOM element to start the explosion at, and\n`config`, if given, may be an object specifying the following options:\n\n- `angle` - direction of the explosion in degrees, defaults to 90.\n- `spread` - spread of the explosion in degrees, defaults to 45.\n- `startVelocity` - Initial velocity of the particles, defaults to 45.\n- `width`: - width of the confetti elements as css string, defaults to `10px`.\n- `height`: - height of the confetti elements as css string, defaults to `10px`.\n- `perspective` - perspective of root element.\n- `height`: - height of the confetti elements\n- `elementCount` - Number of particle elements, defaults to 50.\n- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)\n- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1\n- `duration` - Duration in milliseconds, defaults to 3000\n- `stagger` - Delay for each fetti in milliseconds, defaults to 0.\n- `random` - Randomization function, defaults to Math.random\n- `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`\n\nReturns a promise that resolves once the confetti has completed its fade out.\n\nLicense MIT, copyright [Daniel Lundin](https://twitter.com/danielundin) 2019\n","maintainers":[{"name":"daniel-lundin","email":"d-dog@d-dog.se"}],"time":{"modified":"2022-06-15T21:06:41.274Z","created":"2017-04-11T19:45:58.144Z","0.0.1":"2017-04-11T19:45:58.144Z","0.0.2":"2017-04-11T20:12:09.989Z","0.0.3":"2017-04-11T20:17:39.840Z","0.0.4":"2017-04-11T20:28:31.010Z","0.0.5":"2017-04-11T20:32:26.201Z","0.0.6":"2017-04-12T06:56:46.031Z","0.0.7":"2017-07-06T07:38:32.261Z","0.0.8":"2017-07-10T21:49:11.954Z","0.0.9":"2017-10-12T19:57:06.576Z","0.0.10":"2017-10-16T19:28:01.875Z","0.0.11":"2018-04-15T18:05:56.281Z","0.0.12":"2018-11-05T20:41:08.256Z","0.0.13":"2019-01-28T20:41:12.721Z","0.0.14":"2019-01-28T21:26:02.115Z","0.0.15":"2019-01-30T20:59:15.249Z","0.1.0-alpha":"2019-01-31T13:10:53.588Z","0.1.0-alpha1":"2019-01-31T19:31:56.853Z","0.1.0":"2019-01-31T19:46:06.055Z","0.2.0-beta.1":"2019-05-16T20:43:40.631Z","0.2.0-beta.2":"2019-05-16T20:49:00.883Z","0.2.0-beta.3":"2019-05-16T20:54:37.001Z","0.2.0-beta.4":"2019-05-16T20:59:14.968Z","0.2.0-beta.5":"2019-05-16T21:01:53.291Z","0.1.1":"2019-05-16T21:03:08.017Z","0.1.2":"2020-06-27T15:08:59.300Z","0.2.0":"2020-06-27T18:52:03.784Z","0.2.2":"2020-06-27T19:34:09.724Z"},"author":{"name":"d-dog@d-dog.se"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/daniel-lundin/dom-confetti#readme","repository":{"type":"git","url":"git+https://github.com/daniel-lundin/dom-confetti.git"},"bugs":{"url":"https://github.com/daniel-lundin/dom-confetti/issues"}}