{"_id":"@arnu515/lottie-player-zip","_rev":"1-3b2ee570dd4432a537315a1a1dc7626e","name":"@arnu515/lottie-player-zip","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@arnu515/lottie-player-zip","version":"1.0.0","description":"Lottie Player with ZIP Support (for React)","license":"MIT","author":{"name":"arnu515"},"keywords":["vite","react","lottie"],"homepage":"https://github.com/arnu515/lottie-player-zip","repository":{"type":"git","url":"git+https://github.com/arnu515/lottie-player-zip.git"},"main":"dist/lottie-player-zip.umd.js","module":"dist/lottie-player-zip.es.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/lottie-player-zip.es.js","require":"./dist/lottie-player-zip.umd.js"}},"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview","prepublishOnly":"npm run build"},"dependencies":{"@lottiefiles/lottie-player":"^1.5.7","@zip.js/zip.js":"^2.6.14"},"peerDependencies":{"@lottiefiles/lottie-player":"^1.5.7","@zip.js/zip.js":"^2.6.14"},"devDependencies":{"@types/node":"^18.7.3","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@vitejs/plugin-react":"^1.3.0","react":"^18.2.0","react-dom":"^18.2.0","rollup-plugin-typescript2":"^0.32.1","typescript":"^4.6.3","vite":"^2.9.15"},"gitHead":"0afb103aa3e5cc1ae97dc9102068253f83a601bb","bugs":{"url":"https://github.com/arnu515/lottie-player-zip/issues"},"_id":"@arnu515/lottie-player-zip@1.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.7.0","dist":{"integrity":"sha512-nifors7/DajDA6NnCcLu5xPqZZgEl776Je+5Y6fiGM//jxq0kuBz96WwLSf/qRrSBw+LXaQ6Xh7euasaKtwfQw==","shasum":"5cdb98168b71600e92e227b4bab63b238aa49031","tarball":"https://registry.npmjs.org/@arnu515/lottie-player-zip/-/lottie-player-zip-1.0.0.tgz","fileCount":8,"unpackedSize":3460,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzeqH6nxEgOsmPuPHoq2VIvjF16M3KxEstQg+nxzrfuAiAici9NYFeTXPsjr7Wi//cN3Ww6ixfvIcW2LTxQIOyz4g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+fljACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkQg//bsTEe5BpxEPWJhxFadAW6g7sPXxZd+sbsdjIk4TlCojIBpvx\r\nfOmah3+G0W3JYrzOix5eeApSXyDeuci2CY5OqNm5KdCwrf7jiyZR/Rr5XQBH\r\ndG7XT/Qxr0qR5DtdVrk3ErWU9yDuKV/ZxiqV1eE/tXwQ2Me6a3Bnb85G8wXE\r\n9dJZXDTvIty1gMf/uqo82IN9sRjAGVtsS7z8Wb3qLbA3NmVTHE95wsOJS0+G\r\now7Yr1vVrqZo6GbOokCvR8C0i5o5FR0O4lSw9lKzIeAWts3JXWlwHrdCCTBL\r\n69GBietT3iCnBMj1ssuynoEJDdG5CDMfhKVD8oo64jayNInlMm+7FcUdvRHl\r\n9RWYkOuC1RCtVRYPzhcHirUmyTrNSuZWlaoFjgfU/pLPPHmeFYhTc3nKp7uG\r\n0SPw0mVM3jiey/GCCIN2X7vZl97n4T0xqNMRPx4vw2HnyPwIvfN9TE7dt0Ol\r\nrfsAkYvwwZKuFLSmpfUew6yWCaeVBSSuBF7fTxLhO3Hs0rzSOUBTkDHsHmTI\r\n/FGW10+w6dOOw18mOuWQnOJZzQ0M5XRzYjg4ow80sPjP7U7MOc6VqQyukc1l\r\nxr/Uki6tYmWGKNujxlQv0AD2TYe8i9t+vYXEysQ7FmbQwVRMX21wmrz4BU1O\r\nTqyWcVHazJWmepoQu9JRvH9Zvffl3blaeT4=\r\n=SKLQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arnu515","email":"arnu5152@gmail.com"},"directories":{},"maintainers":[{"name":"arnu515","email":"arnu5152@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lottie-player-zip_1.0.0_1660549475468_0.8383695087350573"},"_hasShrinkwrap":false},"1.0.1":{"name":"@arnu515/lottie-player-zip","version":"1.0.1","description":"Lottie Player with ZIP Support (for React)","license":"MIT","author":{"name":"arnu515"},"keywords":["vite","react","lottie"],"homepage":"https://github.com/arnu515/lottie-player-zip","repository":{"type":"git","url":"git+https://github.com/arnu515/lottie-player-zip.git"},"main":"dist/lottie-player-zip.umd.js","module":"dist/lottie-player-zip.es.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/lottie-player-zip.es.js","require":"./dist/lottie-player-zip.umd.js"}},"scripts":{"dev":"vite","build:clean":"rimraf dist","build:typescript":"tsc -p .","build:vite":"vite build","build:emit-dts":"tsc src/lib/index.tsx --declaration --emitDeclarationOnly --jsx react --esModuleInterop --outDir dist || true","build":"npm-run-all -ls build:clean build:typescript build:vite build:emit-dts","preview":"vite preview","prepublishOnly":"npm-run-all -ls build"},"dependencies":{"@lottiefiles/lottie-player":"^1.5.7","@zip.js/zip.js":"^2.6.14"},"peerDependencies":{"@lottiefiles/lottie-player":"^1.5.7","@zip.js/zip.js":"^2.6.14"},"devDependencies":{"@types/node":"^18.7.3","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@vitejs/plugin-react":"^1.3.0","npm-run-all":"^4.1.5","react":"^18.2.0","react-dom":"^18.2.0","rimraf":"^3.0.2","typescript":"^4.6.3","vite":"^2.9.15"},"gitHead":"523b1d72ce777513899bbe63eaa6696b9b203159","bugs":{"url":"https://github.com/arnu515/lottie-player-zip/issues"},"_id":"@arnu515/lottie-player-zip@1.0.1","_nodeVersion":"16.14.2","_npmVersion":"8.7.0","dist":{"integrity":"sha512-Cl6fxKkiZJmufA+AJKxNdIlHK37oa2m/XaZR3WxhUMYxsjj7wfCMl4vi7U0A9ntiTgDSZasw7QSyjwOw1EvVBg==","shasum":"4b42dcaeb5f02c15e9724b138f26b8dbc9dea78e","tarball":"https://registry.npmjs.org/@arnu515/lottie-player-zip/-/lottie-player-zip-1.0.1.tgz","fileCount":6,"unpackedSize":8079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFC4yiRSCcsF/xM93IixnpRXQZR7kXh24b16mw3PN+2RAiEA8/qpXEdu0nfJJndg4RcedaYL7tUP8GTd2xaE60kgujU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+hnVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq++g/8C9NNrAs8BsWx9pAyQ9CRLdmvgNslTcdr1Bfhf5JRLIbA2niS\r\n5ywWWIZ8yzk/TewWbfsWqpYIc/tYVoXQkmxZs8IfF244/nfx0v0/Y70KZJA5\r\n7YqrEoncIIh8wo98D1mbKdyksDoOlpdDzUQxUeKlDThGdMN49MrCXXARobN6\r\nqJ0WrO+ONwfPi4lkdYWrk13nl8oANybsL8bYASxTNMSMXlTv0H2Zxnvc8ock\r\nBdK3qodRzQy6sG2zYo0SsES6uTihvf653/s/BV+B0rcpq7V+RSvtXoLJ+er1\r\nbZKvWa581HzCxt2Ew8wticgIkP7Orr+hkD1tT4EUgJBlHdIJ7PmYF/g4MkEz\r\ntp285OYflogUNojTFVdv5ZPQLbYKDomIQNvfwum5bjnlIDTxVuE+0FCVlJCx\r\nki6okeuFV5YKp0u4+FCefDMI5XEwW5WR8hT8fm79Nt6XPRQ/Lj+XT6G8rXRq\r\nfT487VEQ6BN8DwLoN4IWKMSg5O+vDItDABc1bZd526i6ay38je4/29dJd2z4\r\nKOsqaR/1wOqkLgOJJdQgke1eD3u3blG025j8UmmHXBLOH0hExsphJjTRv15T\r\nQZcr/jlaIQEPnsdXB5Q1bhMFz/Vtp6Rt4nuZGOOqEPmCqwx6a5lgHVUHu/+r\r\ngKGgKecgx7t3E46gPpM6+UWZPHYCPOaFh3c=\r\n=Xv+d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arnu515","email":"arnu5152@gmail.com"},"directories":{},"maintainers":[{"name":"arnu515","email":"arnu5152@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lottie-player-zip_1.0.1_1660557781252_0.5665167069486599"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-15T07:44:35.404Z","1.0.0":"2022-08-15T07:44:35.653Z","modified":"2022-08-15T10:03:01.479Z","1.0.1":"2022-08-15T10:03:01.402Z"},"maintainers":[{"name":"arnu515","email":"arnu5152@gmail.com"}],"description":"Lottie Player with ZIP Support (for React)","homepage":"https://github.com/arnu515/lottie-player-zip","keywords":["vite","react","lottie"],"repository":{"type":"git","url":"git+https://github.com/arnu515/lottie-player-zip.git"},"author":{"name":"arnu515"},"bugs":{"url":"https://github.com/arnu515/lottie-player-zip/issues"},"license":"MIT","readme":"# Lottie Player with ZIP Support\n\nThis React component is a wrapper for `@lottiefiles/lottie-player`. It enables extracting ZIP files and playing them with `@zip.js/zip.js` directly in the browser.\n\n**NOTICE** The zip file must have a `data.json` file containing the lottie sticker.\n\n## Installation\n\nCurrently, it only supports React. I plan on making this a web component so you can use it with any framework soon.\n\n```bash\nnpm install --save lottie-player-zip\n```\n\n## Usage\n\n```jsx\nimport LottiePlayerZIP from \"lottie-player-zip\"\n\nfunction Test() {\n\treturn (\n\t\t<>\n\t\t\t{/* Load any zip file hosted anywhere on the internet! */}\n\t\t\t{/* Load any zip file hosted anywhere on the internet! You can pass any prop supported by `@lottiefiles/lottie-player` */}\n\t\t\t<LottiePlayerZIP\n\t\t\t\turl=\"https://files.catbox.moe/6cia06.zip\"\n\t\t\t\twidth={512}\n\t\t\t\theight={512}\n\t\t\t/>\n\t\t\t{/* You can also use regular JSON files */}\n\t\t\t<LottiePlayerZIP url=\"https://files.catbox.moe/nlgyq2.json\" />\n\t\t</>\n\t)\n}\n```\n\n## To-do\n\n[ ] Add support for GZipped files (e.g. `.tgs`)\n[ ] Add support for passing local zip files (e.g. files uploaded by the user using `<input>`)\n[ ] Add first-class support for Deno. You can use `esm.sh` to import it for now.\n","readmeFilename":"README.md"}