{"_id":"svelte-intersection-observer","_rev":"26-8213a3ebcc87809b648b6111328a2730","name":"svelte-intersection-observer","dist-tags":{"latest":"2.2.0"},"versions":{"0.1.0":{"name":"svelte-intersection-observer","version":"0.1.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.1.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"f9b070b7172264c084480dde0d190cc32e7cd836","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.1.0.tgz","fileCount":11,"integrity":"sha512-bpA7L7XOz5pWTLKICntM63f2aBYAMNOCuCI+5iBFWpdM0Dl05+X++yR8STPrtK9brZhd8gZMw9SeV5I6v5vaDw==","signatures":[{"sig":"MEUCIQCZUyXKdyS3adR7wd2RWF95Xqi5L5IwrwneEV2PxapVKAIgdqmml4eZMv2t2ENo4bZq5Uz5vs3KK61iVyOjrusWg84=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeinu5CRA9TVsSAnZWagAAnxsP/jtstlVwmmhQD1crBgdv\nwkRNfaRu0itTScnKeayupSv4chVceFeF3AQcX97yTqDtxhu51EZLvW0wwh5k\nUI0saYcJ8MFQijoJk1EyDbwDPogDTuQ38vDLY4vsBFqzYg5J2vgayedb3tjw\novplHwgGXbKlzsP23POqH5blZ4WLMxoyC82qofvS7FosTq36NF2ubj4dT6hw\nCChkMokxBfO5m13goJLF3sT/LEGvk/iqVfqtwRXbu8QzqHzc8dCpPmeb6wIs\nLNRlbNMbhxL2qaP0TuYTAXcBwycAiRGLgodPDTZCwSuHMBYR5zbWD6MsBBP6\nALEvoc3UV1oUD+3vDrYV5m8iwmjAZfV8iSvpv0qQ5dLn81WVpTAtAlRIc4+i\nWDQ4h8eNN6I+DRBYvYan6axvPneH8cMWS4lX2fr8LrqTV1ATCv60MI9dRDun\ngoE8yowJ1E4fie4JxR0QcmGtnOlRGihnKZFbvgUFIefLaUmirGhHrvLKHJcX\nrzh4K60E+zY0qVT/BSZ/myHHmIID0AIVNFM01Xk8G5T/dT/8bm9/qcyMTxJv\nWoRCqY04GkVJ6zYCvu9YndyAoGoqA+aQUzYHl66A7XWIVDJuOI+EAZ5u3ijm\n1URVNTM2wOGhllWfmFLxcI+cn9IqHIVIq+u2/td8gKYeE36LujqlJ9HyKI1f\ne3Lk\r\n=nho+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"lib/index.mjs","svelte":"src/index.js","scripts":{"build":"rollup -c","postbuild":"prettier --write '**/*.{js,svelte}'","prepublishOnly":"rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"prettier":{"printWidth":100},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.3.3","svelte":"^3.20.1","prettier":"1.19.1","rollup-plugin-svelte":"^5.2.1","prettier-plugin-svelte":"0.7.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.1.0_1586133944695_0.2663433629508336","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"svelte-intersection-observer","version":"0.1.1","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.1.1","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"1b9d9cbc2f17493c343b583814aab1cb610aa463","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.1.1.tgz","fileCount":11,"integrity":"sha512-0w9UYX/8fbD8AI7H59qYV0PImMKSuxwE2OKuQ053JRCBiQ2u/PTkWopQm6rgEMOBXkltFqt3Toc03vcDb3Br3Q==","signatures":[{"sig":"MEUCIA8h1JdHQDLlfKtXqrCqwkOuH8W9tIBGAPVw6yB5ZkeaAiEAt+1D638TslK6y5BVBazkw/ko1PBin7PHsIAJjcETj+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejRHbCRA9TVsSAnZWagAAUq8P/2NCk43F6BYTT9VEaNZA\n34UXvPzNgMjlpH34fT8HETuJZe6jKwwbFdkQu4VmMYxdLeRtpq5khgd+TBNU\nVhi893DaEY3XvvlvDpVhuQtSuggqWJ0HMDbR0ZDH2VJY4LQJuFmuP7akU5Op\n6jSW5Cf6R2bT/nErjtDZ5BdWgL4BoKzUBWZAx/vXygKwCiEwsmou43vpXLwC\nK67AURsQjM98FMkxe1pOjfF9C8p6zeWnHDCpV5c5yG3z7WvVlqw8Bb27+5Yd\n/muAhKtnUDqX5BcE6u3g71AfQY03oX93WfWje6mN1PdvtpcL5cKbRJ6HwJNr\ngMMBHb2YIF0ekl12eBTnVsz1YuYeYdDYPr2B+J6oXhfGcWgg/qJ25rIZN2zM\nuwJc8n1ca681qJyRtHHRtz1NOmBApRNnIphtZLXY+5yTGBQu1VIGiEa9qbjD\n07F4tQHH/sEkDtrNZxKfRrelevL/C583Hv9/RnpnN2Oeg0utRRhEPOU/QdRl\n4TQzmE1OEd2TKcIWaPu9AUvpVYe0kE2jTqwfFvQ7ucBzbI7NHSx8gvhNItzN\n0Ipgo10IJd0sU2EIxV1UhZNQvnB1d1wM77ClClFEtAO5mIdlfamOcsTc6LYM\n233tqaJm2qL3JGCSbIBEG989Wg6wwBbrRCSyRmfNITaZPT3YeXVrfa4w1ZgF\n+dOb\r\n=KlWT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"lib/index.mjs","svelte":"src/index.js","scripts":{"build":"rollup -c","postbuild":"prettier --write '**/*.{js,svelte}'","prepublishOnly":"rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"prettier":{"printWidth":100},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.3.3","svelte":"^3.20.1","prettier":"1.19.1","rollup-plugin-svelte":"^5.2.1","prettier-plugin-svelte":"0.7.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.1.1_1586303450838_0.7105774384317143","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"svelte-intersection-observer","version":"0.2.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.2.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"497db476dda8ab0fd4d6e7904bf673f216f5ec64","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.2.0.tgz","fileCount":14,"integrity":"sha512-kmm3E4Aaqzu61RaCLYK38V3iIVrKGGn6GFtHQwGVIqDutD9PMAK17lzEwvr4uPA7Cy7k7GOtSC36C5tAK/LnWA==","signatures":[{"sig":"MEUCIBh1jZukVdH0QNPNqrlo0NMHh7m5Fh6jFY9GRi96i+LlAiEA/m6Tk1ObktgacRrqVnVtwCHiH1sW0RqyvRVtftwjfpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftdGgCRA9TVsSAnZWagAAPm0P/3dkZeall9ygB/N+oNPz\noCEW9he6ZpTgpedIUKtr0knuGyJziw4H6agx5JAWfKprKbx6U1Rlul3lntpi\nfP6rz20QLAn73S37Clpomv6C41faJqLuGInIjAe3LK4uutbtA1nrtfHWqs9A\nDG7HUG/7G0TmvZVyUSDhne10j4dtn/PT7ISQ7duEEd+LIQcolBaFhuSdZ8Jo\na6i9Q1ge4OE6kACGVGKMcO9ox84NuR/+rBz2AcDyW+8cQr7fhcyG3pZRE685\nidIYh35DHe6LCiMPRxpS/DTtL39DGXNHnVxUaH26KtMemft/iWpl4JKJ3ArM\nGwGzCxXLNmxgQq6Pz58A4ku0/gLHjB74XqtbmWYtPnqfI0LCjriiujCmMsk1\nQ9SGGMPxr0q0hi/iCtbQu7kHVxpgFakxfB4o38i8KCujXWpQ3Drh0EptBh/Q\nltpdhK1sgWXxjTr+nlHk4qOa2uowWmk5DE1Pz6DztKF6IH8cCIS8YrL5WNkR\nHi/BRsdH5uq+xFobkdHq+K0pYKegtRzUPtrctPclxcOIA8LXSx7JzS4HMeEy\nx9evUf/tgh2wqo2OF1RU6L/2vT66bC0pXyZFZdTC7/nnts1msDkQ+n5JI7cH\nrruVqPKphheZ+mh02HNaJFz5C/w95Tvl1OfP0rKhYEQqu6mDBBKhm1AP/Npu\nGsxz\r\n=oZKg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -c rollup.config.client.js -w","build":"rollup -c rollup.config.client.js","deploy":"npx gh-pages -d public","prepack":"rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.33.3","svelte":"^3.29.7","typescript":"^4.0.5","@tsconfig/svelte":"^1.0.10","rollup-plugin-svelte":"^6.1.1","@rollup/plugin-node-resolve":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.2.0_1605751200136_0.9350282256587581","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"svelte-intersection-observer","version":"0.3.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.3.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"03763096aea8a117a411bd3554a2e3de51fcf6a5","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.3.0.tgz","fileCount":14,"integrity":"sha512-yfrCIWmeTprGocWkUpU2gJBRoUOuT8tlgyGjiMGWdw8SuDJG2K+3oktKrSKvJH4vb6+dhA1bsyoB5tOeVRv3MA==","signatures":[{"sig":"MEYCIQCvE+QqMdyVP25XzkiIw3H8OIN5HsO9FEjUMnH3tW6NfAIhAPZzFvlKa9jwrefGmSWLhKK+4uoadRhS2Dg/0UfSTZTf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvApbCRA9TVsSAnZWagAAW2kQAJkLeX+T01BE2qC1XCSq\n5o/dqZT+dnAHgZRtcaUWNI4wg0VwxBLD++DWIHpB769rVRvu22vCEE1+uo+i\nlB7RD52gzL1ZXDp/oV7zeYBzWwXZRSehq3yZAQg3zrRab2cD0Y0fPQe9LmXC\nzoyxJtSmOL8RFEojDH1ObBFSaO/YrMGxFXzIgWUwLwRWnjn93yN8uL86MVJS\niJYVhqe7IAqQ06mZmtGUJJuqNYLObtiswB9nULsbN3WdroySoSRovlEQztcM\niOCNQOXq4DwH4DR0eW8znYlFrOH5Ql2GvUJPgzSkDhIRAV3akOqKb/AYoPIR\nUfYLZYdIRKaVsVY/FReN8GmDtyrWdMOyDQy9B2YWlWx5gSdVZewsQpVlbSVt\nAHDjzgZI448n8kqVQwRqn+CyGh2Jzlz47nNoDlk7AIEd28HgyKtkFnEfVa77\nq8AlOFNQkaKEEP2EG/Gk0eiH5pwCPQ8z6HJx4Q1XMzKgLHwkSK6qPyMGbH91\nX8kALANuoRhiFlr/1X2uQS+qtBDmDviT6J829x0nAb5iixr3syK2ZvV/Xu5i\nqRstBdeAraRLYrNsz/03WDtZgXc4CPPuyNd9qIXLCJuOthb81U5f2vPZoHcr\no9MWiUk/Va6tt8yd7lx6tfpfRWqeUoopeInuaVDGXuOl+q5+Wqt4ZyFYQb7V\nmfeQ\r\n=Mnw8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","build":"rollup -c","deploy":"npx gh-pages -d public","prepack":"BUNDLE=true rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.33.3","svelte":"^3.29.7","typescript":"^4.0.5","svelte-readme":"^0.3.1","@tsconfig/svelte":"^1.0.10","rollup-plugin-svelte":"^6.1.1","@rollup/plugin-node-resolve":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.3.0_1606158939046_0.6074543699173331","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"svelte-intersection-observer","version":"0.4.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.4.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"c43d3a6967d2fe9892589e4d222b1a6617397c82","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.4.0.tgz","fileCount":14,"integrity":"sha512-IelHBniABllWF6jQY2cOn2TsUENpErja520ZtkC7Cn/tvxUrP8TLQMarc9z4uMOl8MW406vSoqt1Z19iXbHo/w==","signatures":[{"sig":"MEYCIQDnADpA3zMnGtn7y9mliLzJ15DUAppxkPhoSNlM6KfXXQIhAP0FmkbUv9xKH6Z8fvq2xaiL7MRQdkjSFq7J2/MwlMfD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf36ZuCRA9TVsSAnZWagAAZXMP/Am3vCRxLurC9XVYfMKR\n2dFWbr3X67A7YbVemZ5sRdBruULX4LMvJG2lIVEKoXXj46WFOy+GF5YjF297\n3TqwH0hxKTPOFNjIqOP9aKxZJiIbXBv0u5EpXXfpeVLjq7eszQCKcK3wJEtk\nwgvlUfm9KljntPeRdvTmpXYyfeEQ8OWIM4uyVGBR+KQUCt/kOUdrvuTK8dVQ\n4HItB5eG01h1GXdqltz8ltF5ny+3/03O61hSv+62aHWR58JZQFiFq7pAKUTc\n4VNGW9yV2VeODJ8QpFR0Mx34gdq2j2FNMo8tkK82ZWDC4VtTpUGOxzcNuSF6\n6b+baeIOqlp8zYIW03OZKXCt4yrvVlI5I4VN4kM6FXi5Te7oWf3+5+ZNX4x/\n76jkbjFzywlpVUjAtZvgbeBjD7GflBmt3Fcp7h5nq6visHdNip1wyl+6hhsk\nokgnQeFmKGvZZ4C5RA+gzxuhnaFmjm92S4/73T6PmG/WkB0QyycnOTsJX1FP\nOY35/584sB+RM1gnHLcAsGfn4bHxp0IqzvsVPW5hAXyUMzUIjWodktw1H6Tq\n2h6VtBTrFbnQVpxg1G4YFsbY4nDAH4NpZu+UOXLoO+76yFiK3hKDKF//cnn+\nBOkaErTEw8XaIQsZPUzT3h9AraHj3Yeu9s9p8h3lsvMCf6JtXAB9zbtL7HEI\n6+1d\r\n=P0j2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","deploy":"npx gh-pages -d dist","prepack":"BUNDLE=true rollup -c","predeploy":"rollup -c","svelte-check":"svelte-check"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.35.1","svelte":"^3.31.0","typescript":"^4.1.3","svelte-check":"^1.1.23","svelte-readme":"^1.1.0","@tsconfig/svelte":"^1.0.10","rollup-plugin-svelte":"^7.0.0","@rollup/plugin-node-resolve":"^11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.4.0_1608492653928_0.06291713803820587","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"svelte-intersection-observer","version":"0.5.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.5.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"38903f7e1124d01e4020535684ae3a70014cdfe1","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.5.0.tgz","fileCount":14,"integrity":"sha512-a0UvxzGyfb0ZHQcf/37G5bKrf0ZjVyLKTIt8jTso1J9c9M4oFALe8De3gL+/U8ZAvcJfv3g7a/hnKRo1YKUhow==","signatures":[{"sig":"MEQCIBHyh51+VmeEQOx+Au/uxaZ7c3O2QabzPNAXdP4fAT6SAiATRqrrzWA1XGS+Sa2tgIpb/LFlqTJjTOe6Qk4L8JhSpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCLqrCRA9TVsSAnZWagAAZq0QAJZzvP3Wxt8WWJuxvEw6\nDRU5vEYgZ32GCO5PJDB/p/UiAx2pt+gEZcCDTWRAi1+MgfrpQPa2zkZkQ9nk\n+CR4m2yNYuDEjMDKvbYE+MfRA9o/JuSMTztaLcxlfjT0fpX9vG8l+qjuPhRm\nN4asxQqCSBMpnSsr81r9/HS/VrE+foNsYQp1SYDiiWy66e7yXO+1Eau6GfGK\n4ywNYRecipcnZ+0cwlVngXhU0UvxHSKjIz1mXI/MjyFaq4SXXonPJUkrkgWr\nDVGcXRX62+sAWffTIyi3o0uk06+6Kn6vOwqgkxYZ9ObQhYT1LK7HDH6b2XZt\n421evuT/yrmgJIrGB8E3RbqXgKwuTBIA/vvofg7ptcWXqLCQAFQPRi1m+01P\ntOWm3iOiwgzrG3Dfd9szGpjrX6cxsJ8T5Dcs0FrEqPxrjCWJDpPRTL+3I5rV\nhR4djXI4vGs0cezw3dwFHJig298JMO5rW85opNXxQ5UnXO6U/7f3FYaqpqXz\ndoo3SCpq4FFrUrFQw6po4JanLVkIqq4Q/Zr0OlWaoXavEGq3Xauay81XTbvk\nchuaEZ3/0nN74VmoP19ZsGzwFVArpQetd6DDINSC3glj0PlefiQSA/LGc3Nq\nIbdx9c4Gdauh6CUZPkfhRIFBSQFa9VDLbHWM3niyinmEV3JWYEmzIinaNleI\nrLp/\r\n=SmtK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","deploy":"npx gh-pages -d dist","prepack":"BUNDLE=true rollup -c","predeploy":"rollup -c","svelte-check":"svelte-check"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.31.2","svelte-check":"^1.1.28","svelte-readme":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.5.0_1611184810423_0.07925256062343444","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"svelte-intersection-observer","version":"0.6.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.6.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"7c56a980ad274e7d8b32fd833037f62843583f87","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.6.0.tgz","fileCount":14,"integrity":"sha512-h6GJ75FjdVPxJHUx4SvEzH9lg4jMWL6PoNmMyIhJbEugKsxkap8C6Dpx5fbX7hp5ekvtafCosrYdvO65T8KruQ==","signatures":[{"sig":"MEUCICj3O4XUch6oVX7IK/STi9m3kmefTDPw5cuuPB61pPGlAiEAjWFE74FSb7+p14IoTncbLRnwNsch1Pi0gd+ceGKQv0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNlGBCRA9TVsSAnZWagAAmMYP/R+ymxT1gC6tTDxcTcDQ\nwa1dBeeET4xVUXJzccFUX02ioQfZ1IAAy0m0GTK6fs2Nc1b72kikkj0ZZs7j\nGymZsq0ZmNZ1OtiomCSl1blIWcIXLz6HjjpKoSUtr2EJBcAIG/sKWTVdQ5WM\ngONJIFlLrJeBlnSCeUKhPMsaF7Ya5L2Nu01AsE9wx7ACVlff71dra+u3BdEu\nE/1XtD4QWNIfS1a+xRg6n0ewFewcXnQtRW/Qbbm2CanOG/eTeWhaZ6cX49up\nZ2/0bumc0pA5Iyw6HH5ezYsAceDWcYKB91kYKdJ8HcQLu95gTmRk6nz8BvVe\n+YbAGercZEugu8eQp/v+ROXj/MIxrUoLYOb0quRWBNZHgEwseS4K/OzeTKa5\njQsyEnsKiNd5Km1hcoeMgVTDLHIk0GB7hbH8FgUqrX5IkVxQBliNtuq4kaWX\nlUXEE7LGWo6Wm/zK7qORg5ICV1GbbMtxnFU/EBUSkcMeoDgNKCoQbEN17sGY\nCiGoNFCCy+jrfsp+SYH/D+PsEwVENQMjI9DmmSI4asaStRgV/CWVfiAAaFpO\nweilHNO+L01mTBEC+AoMz0w6iWTHDLyUogEd6OsFsLOrk4TUEqcHD7Hq+l6/\n/eCH4h20nOQbb9xdvbAuH/MWQqEQoNKg3uFzs+4kuJu65Pb4sO9/BnyeRu6/\n8d/S\r\n=kXv+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","deploy":"npx gh-pages -d dist","prepack":"BUNDLE=true rollup -c","predeploy":"rollup -c","svelte-check":"svelte-check"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.31.2","svelte-check":"^1.1.28","svelte-readme":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.6.0_1614172545403_0.7604865056909049","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"svelte-intersection-observer","version":"0.6.1","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.6.1","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"a84ec59648520944ca6404a9f586ae3c315503f7","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.6.1.tgz","fileCount":14,"integrity":"sha512-Cvhc3EHqrYQx0ma+bjPk6CO+dhvMhz1ZTcYAXNiImcqA4LQaqUW0w7EZsYhfw2ciiuOSbRW+lVX9agJ4FhYmJQ==","signatures":[{"sig":"MEUCIQD8GpuvpTx/p30il6Tlpw+CHCjJo+ftqdNrlpxfD7nbwgIgakNjwFsDBIqZiwPBErfpubitf181U9/Km1lSHEpXuYM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaF7kCRA9TVsSAnZWagAAKAQP/1ZnmnCEStD89/mguv0k\n4Zx2eJezEeWzwUmoSwrsPgM1TWHP4xFWg7dpqHEao/ICD93wvKN/NlHAG23I\nw11zy6R5G9EktEesFMlesozgQAs8PMUa+i0NeKOarU798C9C8cOt8vdrBRro\nwjcrN1OmThmyybnGVORHw3VRRbOhc6qdi8NdBK/j1P2i8jU7/YdSvQyIoc6M\nEXJYeC0qWiPTMDHWJOfJs1BqTelc3Js2MZGyv84Nnb+lfKVhuXYD2+G22K8a\ngC4slL3vAm8kAt6wdrLDrFKDJXIiRm1CLa/6oDYTXZpQdsiLfwNzvRQgmhsL\n1e+ksD6rFXSor4XXNH0JYIIFeLxHCwPAAmUavaI+A/xFTWZl1+vdj+tp7yK7\nXrHdm70mnd7OEbrVPjkk6Z28nso79cmjao7ILcVkqUJ3CKTlysUjrJfBmZfN\nMjVIPeV7hMpsENI9oW39wBJSiUHg2BdRBp2rOL0HFRF6S4Oq4L0WJAPQ6S4k\nyjTwjIyX2mPBQ9DKlBQK/LXyEETwuMLKrnjzKAXiRDWvuS16LM9gbWKa0i6d\nznCfJ4CV3YyFseq36/Ele6H5D6Im0LBN6CpWjtjbU0manLNwbNuoJryoLpXv\nV1fsINdZ7icqvGhcmdn39aVv4sOMXEgmf8+bK0lIjYkTvLIxVSpXjfEiWymT\nQM9/\r\n=wbae\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check","deploy":"npx gh-pages -d dist","prepack":"BUNDLE=true rollup -c","predeploy":"rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.35.0","svelte-check":"^1.2.6","svelte-readme":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.6.1_1617452771875_0.9462664030096879","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"svelte-intersection-observer","version":"0.7.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.7.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"15a463ae63f47d60ffbdf7ba96056c24a9d67109","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.7.0.tgz","fileCount":14,"integrity":"sha512-i8nbGR1PKdq2ViuzJW6qGu+jy+J0MnlIv/u3CEqssIn5InRNQUU0Z9O9hJbTACMp3e966wU2plFMvl+X3AbmJg==","signatures":[{"sig":"MEQCIDKiMQcz5lpiduQa4cCWoNGq9ixGiQ1lR468tQBkKejZAiBsVdjH5uuWYN6oOvlB8pXNCi7YOrpWrHpcn6eUm5wz0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgg0+uCRA9TVsSAnZWagAAKBQP/3lKG2hIvLKVte/OGB1B\n8r9YMi957TlMT8ewXaSY4kyqXycB0tHo6XcmZV+jyDfZQpJWdKErm6Sh+9Eh\nWrYTE1w9mc+BTVRxCEgw56/FUZBvbvq7FyrG+QteY9DQbxk5kjJoOP+/W05n\nK+afhk7MpIhskzSjMh0Gt5hnMSnPfvyWx7vuaNqTHIiK12/+DWwc7kOiV0bI\nZngC2PJMX+eLatlK629ox5nPtpGdt1EOEpr3Qn6pSzsw2xS6879JWpLeGEP4\ncm+9oouzWw8fZNLqfHYS8w9wrgt2FYcHjbqINXvvXFv2js6wIAFV0qhBFT55\nWa6/1golItvzH1ogXdj10fKiiT4/INeXnaHblrvamfAhPGMCGjIvLs4PsKsf\nYDWKikEZOUM4+itZMDs/qYO8eQJ9IYH32GnzknUUcBIpvj1RWkmMq0jlhQ9J\n6TLcyr+rwIewbjSRUjZxGeogqNAclGZ4OOJ5BR2RLTeRRDNV2ILDMKjhDCUt\nSDmyCPdF/yvvnOYE09potXSuItEgwdo9vJWcqfSfhFPcz809nmlppF+YoVbL\n+fgBP7jzX9KS2CRuxFisvvHkWZC5zV1SxCQ7lHIjQfJmsWEdMsiIpvRtaPJF\nf1CZ30687Uuq3C8UwIR0FGpcs/tcApHMw/nd5mcrzPbSEt4vNtf1sSLEVdRU\n+iBJ\r\n=wc3s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check","deploy":"npx gh-pages -d dist","prepack":"BUNDLE=true rollup -c","predeploy":"rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.37.0","svelte-check":"^1.3.0","svelte-readme":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.7.0_1619218350232_0.537238562027071","host":"s3://npm-registry-packages"}},"0.7.1":{"name":"svelte-intersection-observer","version":"0.7.1","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.7.1","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"cb3110a16b12a3e148001a27f4dd45b9e552d4a3","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.7.1.tgz","fileCount":14,"integrity":"sha512-duqN9suvQuP3Yb7R0xb4Se0pDKTRnA3enqZ7WH5srESf/q2/hLYyA5lHBU3TRWmj3gkoRVxjfyEbbjUcDM8osw==","signatures":[{"sig":"MEQCIBht80jPs8ZQbfklVCcdqXB86199XsuD9IO2j2YFOYKsAiAID2sGXbay6ML88bNuQyxB2oaKqKW4OD2RKx0xEBG5yw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4zcTCRA9TVsSAnZWagAA+uAP/2xn1lWGrWczumTJwuiW\n3bj/XV/Mm/vr5+GA/8YQ/prwgQXZw2ZxHj3a1bRgkG0v01GHEu2AYjyMNUFk\nYA7OjrEu9CB7cyaEyy/ZHmPmRBLZ58QjSoHsHrvY8szWJV/nJwAkcbbDOcUZ\n/w/3ty/efh1qlayRy/PmXCjYoNjvxOeR2d00SV0nkXTBCVMR0H43tAcA2Mi3\nJvIamaMvAP4ErovWniZxS69xuxJwL6SNzHqDCxYhVvDsGQ7c2aiTxXVXf3Pq\ndi/2PEw4DXoccz93Z7YmjxRVXNU2GJTaJjO2Sn+EkFH3qH7q5shBtuUhnlDE\nEzEDVOgsnFcUGUulKFOW0HtIjHX3tC5RpdMJSn94NRgL34NDQviHf/b+iCiz\ncHx1/6rgGkp9Fa+7ys2cJIzxaXOT+06h3pkesQZjJx+p3yJCbV0UvQIAPXZr\nhAIeZ3/sUmRrzb/E7vr/S/Pxw/MgwFMsOMpEn9N0LLXLBmGJ5EJsCOkvOdIb\ngTeiycdatABfNZqbm54O6aVPpMU3Lc2tH4jEjtqLz8iWBpzELJ9QmjIPV3zI\nbxj4OcVFGEx2I+nSfV0s9OTFO65I1pdsJCF17jmDc0VEEOMk9qASFKxKi8Ti\nAAFZ3z5TKrP3MKF914uzVO+laJUbcSpRzzu8wk4IRtDQwy3CY+vyUIQnkiTF\nye1N\r\n=r5kE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check --workspace=test","deploy":"npx gh-pages -d dist","format":"prettier --write '.'","prepack":"BUNDLE=true rollup -c","predeploy":"rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.38.3","prettier":"^2.3.2","svelte-check":"^2.2.0","svelte-readme":"^3.1.0","prettier-plugin-svelte":"^2.3.1"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.7.1_1625503506431_0.5711917506183133","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"svelte-intersection-observer","version":"0.8.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.8.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"0ba16d095f1ae051e6a0d34aad2d5054fdb04cf0","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.8.0.tgz","fileCount":14,"integrity":"sha512-TyCrgv8bxnMczQrswqvgtzlvtJK5wo/X23mSypNBCxXfVOiQgXIXNPf06E+BLTQI3jrrtwFz0WLfzDjBa56ppA==","signatures":[{"sig":"MEYCIQCGnJc3Kz3qS4PJpTPB9YVgEz0pJbABUVtm3EpcogG+NgIhAK8svfClgNjAe8QuJfBY/nRMlPFs1fLZA7ZeVYi+DqRy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMPXeCRA9TVsSAnZWagAAK4IP/ik3C1Lp6R0GxPdLoA/X\nTg17XbWPkG0hTzJDmqmFmwXZMdQ0K4lDdnqrEylFPQbZLkbRG8OtWXJDrcl6\npTMfJeJABdgTMkIDQkflX4j9Eb1Bt5507H/8I76eklWRdELuS4CbpYRi4aH3\nv0Rw3Q8d82x6UpuimASvANUmn3Itug2YNG82FFYFufLsk4DK7i6Ly+mBHZOD\nKKZU2alfBdhBkyPRBx9uXnGsBs7JPVYVd3k+jYZINaQtI76phhn33TgFhEey\nr9wF23BPTUaAbyD7ltf/qqxy0Hs1YGdKO9BxHd/LZxwdKmwPoxXEhwVwRG/6\n9lEBUz3JkwjFQ1yYnwArNpconeDrdVT5BugZdje3uVn7RbLlopIf/3f3q1o4\na2A8S7i4Ta5T3sP2HEMfnKbDXCKvjcMT6zYGBNpwubC3wlSnZP4TdxfI8W+d\n/WWs3NSluZ2VIi2M3KAbvuCX0Nh9AWJ6fAySCAwf5Y7YZqBwsAK+YXVcPdYD\n55clSrkngQlo+I+jxH4j3zVhapiELlitwPJr0liaNpV2QueXnO5uYQnqy8+K\nJE9fn92ijT5CYpkh51/JbJOXEsiw7WEm8VNaVht5IKyE5vCXdIgIWH7jurcj\nR/g3Yp4EIWXzFm4APs9tmXqnVyhIHsrQCkv6sfQLXLq+ScaI/VHaZy8OrBkN\naa6L\r\n=+Ez+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check --workspace test","build":"rollup -c","format":"prettier --write '.'","prepack":"BUNDLE=true rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.42.4","prettier":"^2.3.2","svelte-check":"^2.2.5","svelte-readme":"^3.3.1","prettier-plugin-svelte":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.8.0_1630598622547_0.14177266419783185","host":"s3://npm-registry-packages"}},"0.9.0":{"name":"svelte-intersection-observer","version":"0.9.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.9.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"686a2083846c6b8aa8140d0e7bbe936eef4604c0","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.9.0.tgz","fileCount":14,"integrity":"sha512-eCEcMNk20gHIRsz34p5ZH3qx0uow90L5QYvQ74Os3+3TIT1/YZNtQ2VTvK2eAnJfnpE2zurQFWYpk/G6xM+WYA==","signatures":[{"sig":"MEUCIQCI9FeH+a5gu3bys+ydQFuZom4HkWRMFBoEZQuE3bXzoQIgXXamcqljrfp6J2nY/g9qHp/GWKrGu9UhvXyPGTc/ezk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46174},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check --workspace test","build":"rollup -c","format":"prettier --write '.'","prepack":"BUNDLE=true rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.43.0","prettier":"^2.4.1","svelte-check":"^2.2.6","svelte-readme":"^3.3.1","prettier-plugin-svelte":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.9.0_1633475865613_0.28997359075732465","host":"s3://npm-registry-packages"}},"0.9.1":{"name":"svelte-intersection-observer","version":"0.9.1","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.9.1","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"278c4f5b7790392715deed4f706c0a7416b8a37d","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.9.1.tgz","fileCount":14,"integrity":"sha512-sXoJ6z3l/o7jpdXpuGW9hIOHHE70Zljr+az79WGTUmV0/36LNLFPw6WU91LN8PSynZAb1zAqJADLWN/qMPIQWA==","signatures":[{"sig":"MEUCIQC69M6vr+NwXQc9IaqgQZyIUUCnnAlxRnulih8VKhPyGAIgU0eiyIvCpySwUwWO4kVc4aPa+65FbZOXVkz/5vYywnY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46447},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check --workspace test","build":"rollup -c","format":"prettier --write '.'","prepack":"BUNDLE=true rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.44.0","prettier":"^2.4.1","svelte-check":"^2.2.7","svelte-readme":"^3.4.1","prettier-plugin-svelte":"^2.4.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.9.1_1635203054919_0.630689886128768","host":"s3://npm-registry-packages"}},"0.9.2":{"name":"svelte-intersection-observer","version":"0.9.2","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.9.2","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"6c851d5b5cf0c2278c58b7415788b56e7d21c15b","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.9.2.tgz","fileCount":14,"integrity":"sha512-4q6UwHB+vtWXLKO/gawUpfv8oUoawAftBmm9DeCg7OpCmciyRzSE7cT7trpqWY/mLq6jDSsKxpDiJO5SPwL6Ng==","signatures":[{"sig":"MEUCIB34AjoJW7VOrZnKCLA4jQ2hfTsSwG4JoN6g5zujBKedAiEA0BA1B8ziGW5Y6D0nix7fxthvVSIoYTbMY1Y5fiSGt00=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoWVJCRA9TVsSAnZWagAAKfUP/jtvBNELC5CT040cxx1w\nM6bZnYW9BcVWG1FNBMbxmqNt642DCPLRZKMy2tUevik0Pt5qPI8JuHDEtrpG\nmK7ofG9a/xdPANdyI1ujugB2cPd9pGQtEXLT2/fuMs5tlJztQAs0Og64N7m1\n2otg2c/ug87AWuQsD4tRMi7PUbLI01wf8BwAyBDWc8zjLKQmamBSULhS/E38\noMvxv8HfiB1VZg/9KjwO0HOF8wlbA967tERbljZORaslI7ZYE1FVWpmHdHKK\n0Xdz82OtX5ewttYMkscklGuaHcBYaTiyn93wNamwUesVPbx9KcD4vL8rTLD4\ndFDK0vh48c9VSvQP5ivmi5Nxe9MCVmVeNwE5PWc1s8gycPCo+3FowwM4gCS8\nBrN9HkmwjmSN3x5I99Q01TY7UgY92UqHMWPN9mEnos0p6rvQXrvx7dZC3ouU\nIqhRL5VLmKX4qu0u0VTc7e3yzYIljad9KIyrdM1CsCyC4QA9Kod4whKdkTKq\nh4bwDzic4q9ZsmYWi82mI32wZnYA5ptjsVuubuOtKD9JsK/IHRA457Gy5Kzm\nSvfEPI8qjcUVXq53/XzjO3wTbm9EK21hfTOXarzk9skAlQmLouhGcmWoS7rL\nu4/ID9pJoIPmtEa5G5KMCWGYobSZdQ1TfapqBZhbHQ56fPizix4GsQVxzMiX\njKIN\r\n=vyfF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check --workspace test","build":"rollup -c","format":"prettier --write '.'","prepack":"BUNDLE=true rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.44.2","prettier":"^2.5.0","svelte-check":"^2.2.10","svelte-readme":"^3.6.1","prettier-plugin-svelte":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.9.2_1637967177543_0.3156034532379044","host":"s3://npm-registry-packages"}},"0.10.0":{"name":"svelte-intersection-observer","version":"0.10.0","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.10.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"6f9ff6c235ee80b761c169406e389ff15d1e8f3a","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.10.0.tgz","fileCount":14,"integrity":"sha512-GdOTMSrRpoBciMe+NbocsHOBvqKJ5OiL5H8Jz4mBoDGHba9VOI4oGeXAmMOmh8mi5gq95+0b0DVI+6alcQ7TCA==","signatures":[{"sig":"MEYCIQCu0hBgkI+MaGE1oY+jFcZeqyaF2guNN6u+1TSlXOE5UgIhAKmqzCrhkCZYCPoXDLx6SeM57E5+Kgk243hDnL4+Hp+D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzOx2CRA9TVsSAnZWagAAmb4P/AjolBy35nsAxG/mwO2T\nNJL4gDTc4A3HPTFS/PiRD3nnOlEQ6dJnu8UXlv6S28MQhenNzbqQq3qRs2fb\ng4lYA0Ak4HRVOqr2FptJs/eYDbqm+DDbP1e4h7VifNNoxV+qK20yFyojCD3I\nXtoJjGkfy3wEn8LncUzsh0PaWFZO5LNOz+XqiHLAif56zDbOifhYSbTOHcxe\nFcU1gB8C7RRS40D+F+3jTMYp+r4NCQ8IS37+4RrCN+KaVFdTDLlvi7ZFb/ua\nHWAB0Ls1fTqQnf1xda7BmtQqxwHfytzl0jY+lkInu58W6qmAi8HxjXbkx/L+\nt2OIHyQLzcY2Aw+R+1hLF+GoJtC7d1pMZND8veZMnGsnnablQ+RVPiA5Tol7\nYKJaKd4mVFl8luLrSzIvSh+OjXk4xqTFhCqL8msxRYtjjZodmYi2dE9LYv0j\neioDhxphyH/J+p0wJ6LQAupuQkx+aSPSePz7imwOELkuVDFqatWBqxCcbQvU\n4krTU+WhnI0h7Sjw7VMDqXlrFmRD1T4qCPn37JnGkGK9ze8tDrd1bJ3GGZjS\n73bETXj1IvgN0lxcwK8o45Bylhz3eZia2yheT/JNy/ll0kK/JUmw95NPqQMZ\nFDUXyO5oWdmo6X6uE9zQsrZMoN0/rRsgZqJRagmy93cZLxsvbuv5i2wGJa9/\n0OYO\r\n=AW1K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","test":"svelte-check --workspace test","build":"rollup -c","format":"prettier --write '.'","prepack":"BUNDLE=true rollup -c"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"svelte":"^3.44.2","prettier":"^2.5.0","svelte-check":"^2.2.10","svelte-readme":"^3.6.1","prettier-plugin-svelte":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.10.0_1640819830360_0.07472863092966286","host":"s3://npm-registry-packages"}},"0.10.1":{"name":"svelte-intersection-observer","version":"0.10.1","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.10.1","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"5b5eb0ddfbd624d50e140273ff6e6617176df4b6","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.10.1.tgz","fileCount":14,"integrity":"sha512-hvWZwd0S8t0osA0ChJ4uJDsLvZlULyE3roDEc8mWyeiLT9y25NKT/CKfncsDyS7EGq3B9zb4ZxsH2uNaaXWP4A==","signatures":[{"sig":"MEQCIGy/0E7fsqJtLXhsZk8J5QdOhHVivr8+bL6l5TsH/YPFAiAF53AW85SULyRc9rfIOP+NeWj9f4cL9KVXqceUUThZiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56034},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","scripts":{"dev":"rollup -cw","build":"rollup -c","format":"prettier --ignore-path .gitignore --write '.'","prepack":"BUNDLE=true rollup -c","test:types":"svelte-check --workspace test","test:examples":"node test/examples"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"svelte":"^4.1.0","prettier":"^3.0.0","svelte-check":"^3.4.6","svelte-readme":"^3.6.3","prettier-plugin-svelte":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.10.1_1689867712937_0.8123371488379334","host":"s3://npm-registry-packages"}},"0.10.2":{"name":"svelte-intersection-observer","version":"0.10.2","keywords":["intersection observer","viewport","lazy-loading","conditional","svelte","svelte component"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@0.10.2","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"3c268f606f65cb1d011505ac532b57916f55d94f","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-0.10.2.tgz","fileCount":14,"integrity":"sha512-aGGyRacrp+zK34AcST0h4T32QW+94vH1jNhMmOueVP1ZQk6XpgBzoKl5WEgAF5H4Afzb8B6vEOXotVa5I9TVBA==","signatures":[{"sig":"MEYCIQC39roShLvWMT0s8oLqjVwWUvKimELx0+bbK97bUCzGpwIhAPM139O0yL2C7QKpep3hAEcsr2NN5JfWDaARRSR9a6Og","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56487},"main":"./lib/index.js","types":"./types/index.d.ts","module":"./lib/index.mjs","svelte":"./src/index.js","exports":{".":{"types":"./types/index.d.ts","svelte":"./src/index.js"},"./src/*":{"types":"./types/*.d.ts","import":"./src/*.js"},"./src/*.svelte":{"types":"./types/*.svelte.d.ts","import":"./src/*.svelte"}},"scripts":{"dev":"rollup -cw","build":"rollup -c","format":"prettier --ignore-path .gitignore --write '.'","prepack":"BUNDLE=true rollup -c","test:types":"svelte-check --workspace test","test:examples":"node test/examples"},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2020-present Eric Liu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"svelte":"^4.1.0","prettier":"^3.0.0","svelte-check":"^3.4.6","svelte-readme":"^3.6.3","prettier-plugin-svelte":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_0.10.2_1704133678186_0.5700834423109695","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"svelte-intersection-observer","version":"1.0.0","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@1.0.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"9ab73fc6f2d3697a0b9236a1d665023c39b6acb5","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-1.0.0.tgz","fileCount":7,"integrity":"sha512-AoxSog8fSt9sSN8ajMYM1I48ndq+rmPlaZSkJFCRbZ7I3KO8IPX6pl5mewWxdYL1JDI06hHu/7epn3h5tlJV9w==","signatures":[{"sig":"MEUCIG9/Rk1U9dL9STodCFxHXIsA+YjxXJDDU5doRPMzRy5JAiEA/9asX3YYR9lhSBK6wgBk6VDUC8bRyKVEy0IxUp5zjYg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13272},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":{"types":"./index.d.ts","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"4f7013aa3c2c879e3799dea7a5506b7c670f7d83","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"10.2.3","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_1.0.0_1704149600864_0.9381771544896187","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"svelte-intersection-observer","version":"1.1.0","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@1.1.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"d3862c8c6a02eec44c3dc10aa0cf026bdad5a309","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-1.1.0.tgz","fileCount":9,"integrity":"sha512-TpNcoRwhLT8GO3diFwOmYjiyB3dofOjZ9MSy5z6V1o5yIsDfYb5Yek8RCuE6jRxpiKzSbnJFBeEdxg/A12YBdQ==","signatures":[{"sig":"MEUCIGVKCO5QULtRJQyaV1zd7czEAZy3tzFeXYANTmOnDLHhAiEA530yBhg2rBAU5xjV5XGJEBQ4L3FHk7y+3pYynN1WCEE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24045},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./src/index.js","exports":{".":{"types":"./index.d.ts","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"aa9607753b316289d5eee0716887e9f5d9b24f29","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"10.9.4","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_1.1.0_1768848674630_0.10074346348902163","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"svelte-intersection-observer","version":"1.1.1","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@1.1.1","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"831b098a6a954ae48072655f75c442d4f8554a6a","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-1.1.1.tgz","fileCount":9,"integrity":"sha512-T5Jkj5pkwhZcDIOQZh0tayAOnzJWRsE8Op667kAHlxLXV7TTsqLfkx1mkLLtPGMckpXQLLsrChHHnIb9HqvNzQ==","signatures":[{"sig":"MEUCIQDcOFI+g6aiqotfvvk5Kh15wNfj61hiuXlltdVaNasrtAIgBWq/LTNAYxio7zYO0S85uiw6Tc1nOIJRQcKH5fzP+VQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24045},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./src/index.js","exports":{".":{"types":"./index.d.ts","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"8b4c4c69e1d16222611f3ea34b2cdefd18930f65","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"10.9.4","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_1.1.1_1768849255610_0.33213577929042337","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"svelte-intersection-observer","version":"1.1.2","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@1.1.2","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://github.com/metonym/svelte-intersection-observer","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"365c6eb1d91714e49753626ccfd4c9304bdea929","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-1.1.2.tgz","fileCount":9,"integrity":"sha512-ULrQHKTg4dLcLMuM791ZT85Wi4lDtLdrlj8nM5T26pnh5pdJnT7wC79ffYMBO380SoY6iZT1SoYGtdv+t4CmNQ==","signatures":[{"sig":"MEUCIQClnUuXMs4acyri6yRCr9F4bAZ+OB6GFuVKxQ6xm42g3wIgAKzCBOxY2Fc3SnuRCO+VnRaq4PGk5TIKThvdf9x11gs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24281},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"68a4db8d91bc77e026c92f604fe588efcfa8f02d","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"10.9.8","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_1.1.2_1783196350092_0.8290856204809216","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"svelte-intersection-observer","version":"1.2.0","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@1.2.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://metonym.github.io/svelte-intersection-observer/","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"23ddcb5b1b9134f4af99dbd18ce1b7c54c6b2a20","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-1.2.0.tgz","fileCount":11,"integrity":"sha512-8QRR9mSGcb+b8emGlfl/wKJQWM0Kpwyr4Qk0T/oXv3nqFZfZgXxyjBtejK1YNPKwHUpMtI0kM6nMTNPTAkixXA==","signatures":[{"sig":"MEUCIQCfES9Q3E+NE80CiqrvB1nd7O4eMl/yamm2hNng39mTFgIgE022hoNj+8yn5lPxcMLGXa4DhTg6i0bPWJntmx9ILBA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36415},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"09fb079818bdaf8d0a348e94d683721d8c97dde6","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"11.16.0","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_1.2.0_1783201220655_0.8120803370304153","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"svelte-intersection-observer","version":"2.0.0","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@2.0.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://metonym.github.io/svelte-intersection-observer/","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"0fd369a091a1c3ccd23f0c6f121618c273cbc4ef","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-2.0.0.tgz","fileCount":11,"integrity":"sha512-X19sKijKqM/fQsCK5kqvbWLONJsi+aOsVk+NjuVPCvs0fYhdhNFx4QEg4UM3WLqx9cBf0lIJ/LM6HbnpQD7Viw==","signatures":[{"sig":"MEUCIQDZS94UqBqdfrbRitl9iciiCMk1VtRHrO9MjCabQknKTAIgXAMpFB0nGqVxFbMbYJ2Qd38tzhCj+esJ83vUn0JzcxI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":39317},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"d1b1c1982a8e5228ffdc0b1fcc4a0ee422ee7669","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"11.16.0","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_2.0.0_1783213173131_0.2667324376115836","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"svelte-intersection-observer","version":"2.1.0","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"author":{"url":"https://github.com/metonym","name":"Eric Liu"},"license":"MIT","_id":"svelte-intersection-observer@2.1.0","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"homepage":"https://metonym.github.io/svelte-intersection-observer/","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"dist":{"shasum":"53d3c226123a04302bfa40362b1978804ed85049","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-2.1.0.tgz","fileCount":11,"integrity":"sha512-BFpiU7JZ3Zzy5jbtnwf5vsWP6fwCs3hhIGZ6xPFytKDq984NY9agVwKfJquDK7iCwDsSIYnicH4Hn2/bFPtbkw==","signatures":[{"sig":"MEQCIDdH6OXr169RYwPSALsD359DDuuZR5U/qpC8Zv3ZUcbpAiBC4mVxUZEVxfgfJ30TRl0ubkvRL5zGQe5YGA/+dZj1Bw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42417},"main":"./index.js","type":"module","types":"./index.d.ts","svelte":"./index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js","svelte":"./index.js"},"./*":{"types":"./*.d.ts","import":"./*.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"}},"gitHead":"d71bc8b07ef69df3fff94f3165d354dec6cdf4b9","_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"repository":{"url":"git+https://github.com/metonym/svelte-intersection-observer.git","type":"git"},"_npmVersion":"11.16.0","description":"Detect if an element is in the viewport using the Intersection Observer API","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svelte-intersection-observer_2.1.0_1783216861998_0.6384092501354541","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"svelte-intersection-observer","version":"2.2.0","license":"MIT","description":"Detects when an element enters or exits the viewport using the Intersection Observer API.","author":{"name":"Eric Liu","url":"https://github.com/metonym"},"type":"module","svelte":"./index.js","repository":{"type":"git","url":"git+https://github.com/metonym/svelte-intersection-observer.git"},"homepage":"https://metonym.github.io/svelte-intersection-observer/","bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"main":"./index.js","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","svelte":"./index.js","import":"./index.js"},"./*.svelte":{"types":"./*.svelte.d.ts","import":"./*.svelte"},"./*":{"types":"./*.d.ts","import":"./*.js"}},"gitHead":"b726a088ccb4eccccc5f1ee80e2356ea7e3b7111","_id":"svelte-intersection-observer@2.2.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-CBu9oEzRt/dbxZeZtTlCb8N6e7Eiet6GOsupS2jNNKuekJ1VLbj1H5Eozs9riHrKNvSYu8fIUpPTWk+6S3x48g==","shasum":"5a07053f4602a1beb73e9de688420806aef5a25e","tarball":"https://registry.npmjs.org/svelte-intersection-observer/-/svelte-intersection-observer-2.2.0.tgz","fileCount":13,"unpackedSize":52828,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/svelte-intersection-observer@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDXe5MeRavwS0p4TySsOOQbstT/Fk7+OV6gtHnuQzxY5wIhAPlN7VSW9BAiyN6iEuuUB5m2vFxYrYNBGjfpTh7JSSKQ"}]},"_npmUser":{"name":"metonym","email":"ericyl.us@gmail.com"},"directories":{},"maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/svelte-intersection-observer_2.2.0_1783279292105_0.16757718220769946"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-06T00:45:44.695Z","modified":"2026-07-05T19:21:32.520Z","0.1.0":"2020-04-06T00:45:44.809Z","0.1.1":"2020-04-07T23:50:50.945Z","0.2.0":"2020-11-19T02:00:00.345Z","0.3.0":"2020-11-23T19:15:39.206Z","0.4.0":"2020-12-20T19:30:54.056Z","0.5.0":"2021-01-20T23:20:10.649Z","0.6.0":"2021-02-24T13:15:45.535Z","0.6.1":"2021-04-03T12:26:11.984Z","0.7.0":"2021-04-23T22:52:30.397Z","0.7.1":"2021-07-05T16:45:06.596Z","0.8.0":"2021-09-02T16:03:42.704Z","0.9.0":"2021-10-05T23:17:45.828Z","0.9.1":"2021-10-25T23:04:15.099Z","0.9.2":"2021-11-26T22:52:57.692Z","0.10.0":"2021-12-29T23:17:10.519Z","0.10.1":"2023-07-20T15:41:53.113Z","0.10.2":"2024-01-01T18:27:58.355Z","1.0.0":"2024-01-01T22:53:21.050Z","1.1.0":"2026-01-19T18:51:14.788Z","1.1.1":"2026-01-19T19:00:55.767Z","1.1.2":"2026-07-04T20:19:10.239Z","1.2.0":"2026-07-04T21:40:20.809Z","2.0.0":"2026-07-05T00:59:33.254Z","2.1.0":"2026-07-05T02:01:02.149Z","2.2.0":"2026-07-05T19:21:32.235Z"},"bugs":{"url":"https://github.com/metonym/svelte-intersection-observer/issues"},"author":{"name":"Eric Liu","url":"https://github.com/metonym"},"license":"MIT","homepage":"https://metonym.github.io/svelte-intersection-observer/","keywords":["svelte","svelte component","intersection observer","viewport","lazy-loading","conditional"],"repository":{"type":"git","url":"git+https://github.com/metonym/svelte-intersection-observer.git"},"description":"Detects when an element enters or exits the viewport using the Intersection Observer API.","maintainers":[{"name":"metonym","email":"ericyl.us@gmail.com"}],"readme":"# svelte-intersection-observer\n\n<!-- HIDE_START -->\n[![NPM][npm]][npm-url]\n<!-- HIDE_END -->\n\n## About\n\n`svelte-intersection-observer` is a zero-dependency Svelte library built on the [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) that detects when an element enters or exits the viewport, without expensive scroll listeners. Use it for lazy-loading, scroll animations, infinite scroll, autoplaying video, impression tracking, and more (see [Use Cases](#use-cases)).\n\nIt offers six interchangeable primitives, all backed by the same shared observer logic.\n\n| Primitive | Export | Use it when... |\n| :-------- | :----- | :--------------------- |\n| [Component](#intersectionobserver) | `IntersectionObserver` | you want a component with a bound `intersecting` prop |\n| [Pooled component](#multipleintersectionobserver) | `MultipleIntersectionObserver` | you're observing many elements and want one shared observer |\n| [Action](#intersect) | `intersect` | you want `use:` on a plain element, no extra markup |\n| [Attachment](#intersectattachment) | `intersectAttachment` | same as the action, composed via `{@attach}` (Svelte 5.29+) |\n| [Composable](#createintersectionobserver) | `createIntersectionObserver` | you want reactive state from `<script>`, no directive |\n| [Factory](#createintersectiongroup) | `createIntersectionGroup` | you're rendering a list with `{@attach}` and want one shared observer |\n\nSee [Library](#library) for the full docs on each. Try it in the [Svelte REPL](https://svelte.dev/repl/8cd2327a580c4f429c71f7df999bd51d).\n\n### Compatibility\n\n| Package version | Svelte version    | Notes                                     |\n| :--------------- | :----------------- | :----------------------------------------- |\n| [1.x](https://github.com/metonym/svelte-intersection-observer/tree/v1.2.x) | 3, 4, 5 (non-runes) | Uses `export let`, slots, and `on:` events |\n| 2.x              | 5 (runes mode only) | Uses `$props()`, snippets, and callback props |\n\n<!-- TOC -->\n\n## Installation\n\n```sh\n# NPM\nnpm i svelte-intersection-observer\n\n# pnpm\npnpm i svelte-intersection-observer\n\n# Bun\nbun i svelte-intersection-observer\n\n# Yarn\nyarn add svelte-intersection-observer\n\n```\n\n## Library\n\nEvery primitive shares the same core options (`root`, `rootMargin`, `threshold`, `once`, `skip`) and the same `onobserve`/`onintersect` callbacks. Only how you plug it into your markup differs. See [Use Cases](#use-cases) for realistic scenarios built from these.\n\n### `IntersectionObserver`\n\nUse the [`bind:this`](https://svelte.dev/docs#bind_element) directive to pass an element reference to the `IntersectionObserver` component.\n\nThen bind to the reactive `intersecting` prop to check whether the element intersects the viewport.\n\n```svelte\n<script lang=\"ts\">\n  import IntersectionObserver from \"svelte-intersection-observer\";\n\n  let element: HTMLElement | undefined = $state();\n  let intersecting = $state(false);\n</script>\n\n<header class:intersecting>\n  {intersecting ? \"Element is in view\" : \"Element is not in view\"}\n</header>\n\n<IntersectionObserver {element} bind:intersecting>\n  <div bind:this={element}>Hello world</div>\n</IntersectionObserver>\n```\n\n#### `once`\n\nSet `once` to `true` to unobserve the element after its first intersection event, useful for a one-time reveal animation, a single lazy-load, or a single analytics impression.\n\n```svelte\n<script lang=\"ts\">\n  import IntersectionObserver from \"svelte-intersection-observer\";\n\n  let elementOnce: HTMLElement | undefined = $state();\n  let intersectOnce = $state(false);\n</script>\n\n<header class:intersecting={intersectOnce}>\n  {intersectOnce ? \"Element is in view\" : \"Element is not in view\"}\n</header>\n\n<IntersectionObserver\n  once\n  element={elementOnce}\n  bind:intersecting={intersectOnce}\n>\n  <div bind:this={elementOnce}>Hello world</div>\n</IntersectionObserver>\n```\n\n#### `children` snippet\n\nAn alternative to binding to the `intersecting` prop is to use the `children` snippet, which receives `intersecting`, `entry`, and `observer`.\n\nIn this example, \"Hello world\" fades in when its containing element intersects the viewport.\n\n```svelte\n<script lang=\"ts\">\n  import IntersectionObserver from \"svelte-intersection-observer\";\n  import { fade } from \"svelte/transition\";\n\n  let node: HTMLElement | undefined = $state();\n</script>\n\n<header></header>\n\n<IntersectionObserver element={node}>\n  {#snippet children({ intersecting })}\n    <div bind:this={node}>\n      {#if intersecting}\n        <div transition:fade={{ delay: 200 }}>Hello world</div>\n      {/if}\n    </div>\n  {/snippet}\n</IntersectionObserver>\n```\n\n#### Props\n\n| Name         | Description                                                 | Type                                                                                                                | Default value |\n| :----------- | :---------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------ | :------------ |\n| element      | Observed element                                            | `null` or `HTMLElement`                                                                                             | `null`        |\n| once         | Unobserve the element after the first intersection event    | `boolean`                                                                                                           | `false`       |\n| intersecting | `true` if the observed element is intersecting the viewport | `boolean`                                                                                                           | `false`       |\n| root         | Containing element                                          | `null` or `HTMLElement`                                                                                             | `null`        |\n| rootMargin   | Margin offset of the containing element                     | `string`                                                                                                            | `\"0px\"`       |\n| threshold    | Percentage of element visibility to trigger an event        | `number` between 0 and 1, or an array of `number`s between 0 and 1                                                  | `0`           |\n| entry        | Observed element metadata                                   | `null` or [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry) | `null`        |\n| observer     | `IntersectionObserver` instance                             | `null` or [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)           | `null`        |\n| skip         | Pause observing without losing `entry`/`intersecting` state | `boolean`                                                                                                           | `false`       |\n\n**Note**: the observed `element` must render with a non-zero width and height for `threshold` values greater than `0` to have any effect. This is a constraint of the underlying [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API), not something this component controls.\n\n#### Callback props\n\nSame `onobserve`/`onintersect` behavior as described in [Callbacks](#callbacks-onobserve-and-onintersect) below.\n\n#### `children` snippet props\n\n| Name         | Type                                                                                                                |\n| :----------- | :------------------------------------------------------------------------------------------------------------------ |\n| intersecting | `boolean`                                                                                                           |\n| entry        | `null` or [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry) |\n| observer     | [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)                     |\n\n### `MultipleIntersectionObserver`\n\nFor performance, use `MultipleIntersectionObserver` to observe multiple elements with one shared observer instead of instantiating one per element.\n\n```svelte\n<script lang=\"ts\">\n  import { MultipleIntersectionObserver } from \"svelte-intersection-observer\";\n\n  let ref1: HTMLElement | undefined = $state();\n  let ref2: HTMLElement | undefined = $state();\n  let elements = $derived([ref1, ref2]);\n</script>\n\n<MultipleIntersectionObserver {elements}>\n  {#snippet children({ elementIntersections })}\n    <header>\n      <div class:intersecting={elementIntersections.get(ref1)}>\n        Item 1: {elementIntersections.get(ref1) ? \"✓\" : \"✗\"}\n      </div>\n      <div class:intersecting={elementIntersections.get(ref2)}>\n        Item 2: {elementIntersections.get(ref2) ? \"✓\" : \"✗\"}\n      </div>\n    </header>\n\n    <div bind:this={ref1}>Item 1</div>\n    <div bind:this={ref2}>Item 2</div>\n  {/snippet}\n</MultipleIntersectionObserver>\n```\n\n#### Using with `#each`\n\n`MultipleIntersectionObserver` also handles a dynamic, `#each`-driven list: give every item its own slot in an array/object instead of one shared variable.\n\n```svelte\n<script lang=\"ts\">\n  import { MultipleIntersectionObserver } from \"svelte-intersection-observer\";\n\n  let items = Array.from({ length: 5 }, (_, i) => ({\n    id: i + 1,\n    text: `Item ${i + 1}`,\n  }));\n\n  let refs: (HTMLElement | undefined)[] = $state([]);\n  let itemsContainer: HTMLElement | undefined = $state();\n  let itemElements = $derived(refs);\n</script>\n\n<MultipleIntersectionObserver elements={itemElements} root={itemsContainer}>\n  {#snippet children({ elementIntersections })}\n    <header>\n      {#each items as item, i (item.id)}\n        <div class:intersecting={elementIntersections.get(refs[i])}>\n          {item.text}: {elementIntersections.get(refs[i]) ? \"✓\" : \"✗\"}\n        </div>\n      {/each}\n    </header>\n\n    <div\n      bind:this={itemsContainer}\n      style=\"height: 150px; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem;\"\n    >\n      {#each items as item, i (item.id)}\n        <div\n          bind:this={refs[i]}\n          style=\"height: 100px; display: flex; align-items: center; flex-shrink: 0;\"\n        >\n          {item.text}\n        </div>\n      {/each}\n    </div>\n  {/snippet}\n</MultipleIntersectionObserver>\n```\n\nAs with the scroll-to-end example, `root` must be an element that scrolls on its own; here, `itemsContainer` has an explicit `height` and `overflow-y: auto`.\n\n**Avoid** using the single-element `IntersectionObserver` component inside an `#each` block with one variable shared across iterations (e.g. `let node;` declared outside the loop, bound via `bind:this={node}` inside it). Every iteration overwrites the same `node`, so each observer keeps re-observing a moving target, which can cause an infinite update loop. Use `MultipleIntersectionObserver` with a per-item ref instead.\n\n#### Props\n\n| Name                 | Description                                           | Type                                                                                                                                    | Default value |\n| :------------------- | :---------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------- | :------------ |\n| elements             | Array of HTML elements to observe                     | `Array<HTMLElement \\| null>`                                                                                                            | `[]`          |\n| once                 | Unobserve elements after the first intersection event | `boolean`                                                                                                                               | `false`       |\n| root                 | Containing element                                    | `null` or `HTMLElement`                                                                                                                 | `null`        |\n| rootMargin           | Margin offset of the containing element               | `string`                                                                                                                                | `\"0px\"`       |\n| threshold            | Percentage of element visibility to trigger an event  | `number` between 0 and 1, or an array of `number`s between 0 and 1                                                                      | `0`           |\n| elementIntersections | Map of each element to its intersection state         | `Map<HTMLElement \\| null, boolean>`                                                                                                     | `new Map()`   |\n| elementEntries       | Map of each element to its latest entry               | `Map<HTMLElement \\| null,` [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)`>` | `new Map()`   |\n| observer             | `IntersectionObserver` instance                       | `null` or [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)                               | `null`        |\n| skip                 | Pause observing all elements without losing state     | `boolean`                                                                                                                               | `false`       |\n\n#### Callback props\n\nCalled with:\n\n```ts\n{\n  entry: IntersectionObserverEntry;\n  target: HTMLElement;\n}\n```\n\nSee [Callbacks](#callbacks-onobserve-and-onintersect) for when each one fires.\n\n#### `children` snippet props\n\n| Name                 | Type                                                                                                                                    |\n| :------------------- | :-------------------------------------------------------------------------------------------------------------------------------------- |\n| observer             | [`IntersectionObserver`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)                                         |\n| elementIntersections | `Map<HTMLElement \\| null, boolean>`                                                                                                     |\n| elementEntries       | `Map<HTMLElement \\| null,` [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)`>` |\n\n### `intersect`\n\nAs an alternative to the `IntersectionObserver` component, use the `intersect` action to observe an element directly with `use:`, without a `bind:this` reference or extra markup. Listen for `onobserve`/`onintersect` on the observed element itself.\n\n```svelte\n<script lang=\"ts\">\n  import { intersect } from \"svelte-intersection-observer\";\n\n  let actionIntersecting = $state(false);\n</script>\n\n<header class:intersecting={actionIntersecting}>\n  {actionIntersecting ? \"Element is in view\" : \"Element is not in view\"}\n</header>\n\n<div\n  use:intersect={{ once: true }}\n  onobserve={(e) => {\n    actionIntersecting = e.detail.isIntersecting;\n  }}\n>\n  Hello world\n</div>\n```\n\nOptions passed to `use:intersect` are reactive: updating `root`, `rootMargin`, or `threshold` re-initializes the underlying observer. Updating `skip` toggles observing on the existing observer without re-initializing it.\n\n#### Options\n\n| Name       | Description                                              | Type                                                               | Default value |\n| :--------- | :------------------------------------------------------- | :----------------------------------------------------------------- | :------------ |\n| root       | Containing element                                       | `null` or `HTMLElement`                                            | `null`        |\n| rootMargin | Margin offset of the containing element                  | `string`                                                           | `\"0px\"`       |\n| threshold  | Percentage of element visibility to trigger an event     | `number` between 0 and 1, or an array of `number`s between 0 and 1 | `0`           |\n| once       | Unobserve the element after the first intersection event | `boolean`                                                          | `false`       |\n| skip       | Pause observing without disconnecting the observer       | `boolean`                                                          | `false`       |\n\n#### Dispatched events\n\nSame `onobserve`/`onintersect` behavior as described in [Callbacks](#callbacks-onobserve-and-onintersect); the action dispatches them on the element, and `e.detail` is the [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry).\n\n### `intersectAttachment`\n\nAs of Svelte 5.29, [attachments](https://svelte.dev/docs/svelte/svelte-attachments) are the preferred replacement for actions. `intersectAttachment` wraps the `intersect` action with `svelte/attachments`'s `fromAction`, reusing the same observer logic but plugging into `{@attach ...}` instead of `use:`.\n\nAttachments have a few architectural advantages over actions:\n\n- No separate `update()` lifecycle method; they rerun reactively like a `$effect`\n- Just plain functions, so they're easier to compose and generate dynamically\n- Can be forwarded through components as ordinary props, unlike actions\n\n```svelte\n<script lang=\"ts\">\n  import { intersectAttachment } from \"svelte-intersection-observer\";\n\n  let attachmentIntersecting = $state(false);\n</script>\n\n<header class:intersecting={attachmentIntersecting}>\n  {attachmentIntersecting ? \"Element is in view\" : \"Element is not in view\"}\n</header>\n\n<div\n  {@attach intersectAttachment(() => ({ once: true }))}\n  onobserve={(e) => {\n    attachmentIntersecting = e.detail.isIntersecting;\n  }}\n>\n  Hello world\n</div>\n```\n\n**Note**: unlike `use:intersect`, which takes the options object directly, `intersectAttachment` takes a function that _returns_ the options object (this is how `fromAction` tracks reactive dependencies). `intersect` remains fully supported; use whichever fits your codebase.\n\nOptions and dispatched events are identical to the [`intersect` action](#intersect) above.\n\n### `createIntersectionObserver`\n\nTo get intersection state without wrapping markup in a component, use `createIntersectionObserver`, a script-only rune-based composable: call it in `<script>` for reactive `intersecting`/`entry` getters, then apply `attach` to the node with `{@attach}`.\n\n```svelte no-eval\n<script lang=\"ts\">\n  import { createIntersectionObserver } from \"svelte-intersection-observer\";\n\n  const observer = createIntersectionObserver(() => ({ threshold: 0.5 }));\n</script>\n\n<div {@attach observer.attach}>\n  {observer.intersecting ? \"In view\" : \"Not in view\"}\n</div>\n```\n\n`createIntersectionObserver` takes the same options as [`intersectAttachment`](#intersectattachment) (as a function returning the options object) and reuses its underlying observer logic.\n\n#### Return value\n\n| Name         | Description                                             | Type                                                                                                                 |\n| :----------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------ |\n| intersecting | `true` if the observed element is intersecting the viewport | `boolean`                                                                                                          |\n| entry        | Observed element metadata                                | `null` or [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry) |\n| attach       | Attachment to apply to the observed element via `{@attach}` | [`Attachment<HTMLElement>`](https://svelte.dev/docs/svelte/svelte-attachments)                                    |\n\n### `createIntersectionGroup`\n\nA bare `intersect`/`intersectAttachment` inside an `#each` block creates one native `IntersectionObserver` per iteration: for a long list, that's N observers instead of 1. `createIntersectionGroup` fixes this for the action/attachment API: call it once to create a group, then call `group.attach(...)` once per element to get an attachment that shares a single underlying observer across the whole group.\n\n```svelte\n<script lang=\"ts\">\n  import { createIntersectionGroup } from \"svelte-intersection-observer\";\n\n  let groupItems = $state(\n    Array.from({ length: 5 }, (_, i) => ({ id: i, intersecting: false })),\n  );\n\n  const group = createIntersectionGroup();\n</script>\n\n<header>\n  {#each groupItems as item (item.id)}\n    <div class:intersecting={item.intersecting}>\n      Item {item.id}: {item.intersecting ? \"✓\" : \"✗\"}\n    </div>\n  {/each}\n</header>\n\n{#each groupItems as item (item.id)}\n  <div\n    class:intersecting={item.intersecting}\n    {@attach group.attach({\n      onobserve: (entry) => (item.intersecting = entry.isIntersecting),\n    })}\n  >\n    Item {item.id}\n  </div>\n{/each}\n```\n\n`root`/`rootMargin`/`threshold` configure the one shared observer, so they're passed once to `createIntersectionGroup` itself (as a function, for the same reactive-dependency-tracking reason `intersectAttachment` takes one) rather than per element:\n\n```js\nconst group = createIntersectionGroup(() => ({\n  root: container,\n  rootMargin: \"0px\",\n  threshold: 0.5,\n}));\n```\n\n`once`, `skip`, `onobserve`, and `onintersect` are the only options that make sense per element, so those are what `group.attach(...)` accepts.\n\n#### Signature\n\n```ts\nfunction createIntersectionGroup(\n  getSharedOptions?: () => IntersectGroupSharedOptions,\n): IntersectionGroup;\n```\n\n#### Shared options\n\nPassed once to `createIntersectionGroup`; apply to every element in the group.\n\n| Name       | Description                                           | Type                                                               | Default value |\n| :--------- | :----------------------------------------------------- | :----------------------------------------------------------------- | :------------ |\n| root       | Containing element                                    | `null` or `HTMLElement`                                            | `null`        |\n| rootMargin | Margin offset of the containing element               | `string`                                                           | `\"0px\"`       |\n| threshold  | Percentage of element visibility to trigger an event  | `number` between 0 and 1, or an array of `number`s between 0 and 1 | `0`           |\n\n#### `group.attach(options)` per-node options\n\nPassed once per element, to `group.attach(...)`.\n\n| Name       | Description                                               | Type                                                    | Default value |\n| :--------- | :---------------------------------------------------------- | :------------------------------------------------------- | :------------ |\n| once       | Unobserve the element after the first intersection event  | `boolean`                                               | `false`       |\n| skip       | Skip observing this element without affecting the group   | `boolean`                                               | `false`       |\n| onobserve  | Called when the element is first observed or when an intersection change occurs | `(entry: IntersectionObserverEntry) => void` | `undefined` |\n| onintersect | Called when the element is intersecting the viewport      | `(entry: IntersectionObserverEntry) => void`            | `undefined`   |\n\n#### Callbacks: `onobserve` and `onintersect`\n\nEvery primitive above exposes the same two callbacks, called with an [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry) (components pass it directly; action and attachment dispatch it as `event.detail`):\n\n- **onobserve**: called when the element is first observed, and again on every intersection change\n- **onintersect**: called only when the element is intersecting the viewport (a filtered view of `onobserve`)\n\n```svelte no-eval\n<IntersectionObserver\n  {element}\n  onobserve={(entry) => {\n    console.log(entry); // IntersectionObserverEntry\n    console.log(entry.isIntersecting); // true | false\n  }}\n  onintersect={(entry) => {\n    console.log(entry.isIntersecting); // always true\n  }}\n>\n  <div bind:this={element}>Hello world</div>\n</IntersectionObserver>\n```\n\n## Use Cases\n\nRealistic scenarios built from the primitives above.\n\n### Lazy-loading images\n\nDelay loading an image's real `src` until it's about to scroll into view. `rootMargin` starts the fetch slightly before the image is visible so it's ready when the user scrolls to it; `once` stops observing once it has loaded.\n\n```svelte no-eval\n<script lang=\"ts\">\n  import { intersectAttachment } from \"svelte-intersection-observer\";\n\n  let loaded = $state(false);\n</script>\n\n<img\n  {@attach intersectAttachment(() => ({ once: true, rootMargin: \"200px\" }))}\n  onintersect={() => (loaded = true)}\n  src={loaded ? \"/photo.jpg\" : \"/placeholder.jpg\"}\n  alt=\"\"\n/>\n```\n\n### Autoplaying video\n\nPlay a `<video>` while it's on screen and pause it once it scrolls away. Unlike lazy-loading, this needs to react every time visibility changes, so use `onobserve` (not `onintersect`) and skip `once`.\n\n```svelte no-eval\n<script lang=\"ts\">\n  import { intersect } from \"svelte-intersection-observer\";\n\n  let video: HTMLVideoElement | undefined = $state();\n</script>\n\n<video\n  bind:this={video}\n  use:intersect\n  onobserve={(e) => {\n    e.detail.isIntersecting ? video?.play() : video?.pause();\n  }}\n  src=\"/clip.mp4\"\n  muted\n  loop\n></video>\n```\n\n### Tracking impressions\n\nFire an impression event the first time an element is meaningfully visible. `threshold` sets what counts as \"visible enough,\" and `once` guarantees a single event per element.\n\n```svelte no-eval\n<div\n  use:intersect={{ once: true, threshold: 0.5 }}\n  onintersect={() => analytics.track(\"ad_impression\", { id: \"banner-1\" })}\n>\n  <!-- ad content -->\n</div>\n```\n\n### Infinite scroll\n\nTo detect when a user has scrolled to the end of a scrollable container, place a sentinel element after the content and set `root` to the container. `intersecting` becomes `true` once the sentinel scrolls into view.\n\n**Note**: `root` must be the scrollable element itself (i.e. it has its own `overflow`/fixed `height`), not just an ancestor of one. If `root` merely sits inside a scrollable ancestor, the sentinel scrolls along with `root` and never changes position relative to it, so it reports as permanently intersecting.\n\n```svelte\n<script lang=\"ts\">\n  import IntersectionObserver from \"svelte-intersection-observer\";\n\n  let container: HTMLElement | undefined = $state();\n  let sentinel: HTMLElement | undefined = $state();\n  let reachedEnd = $state(false);\n</script>\n\n<header class:intersecting={reachedEnd}>\n  {reachedEnd ? \"You've reached the end\" : \"Keep scrolling...\"}\n</header>\n\n<div bind:this={container} style=\"height: 200px; overflow-y: auto;\">\n  {#each Array.from({ length: 20 }) as _, i}\n    <p>Paragraph {i + 1}</p>\n  {/each}\n\n  <IntersectionObserver\n    element={sentinel}\n    root={container}\n    bind:intersecting={reachedEnd}\n  >\n    <div bind:this={sentinel} style=\"height: 1px;\"></div>\n  </IntersectionObserver>\n</div>\n```\n\nThe same sentinel pattern powers infinite scroll: call a `loadMore()` function from `onintersect` instead of (or alongside) updating `reachedEnd`.\n\n### Reveal animation on scroll\n\nKeep the `bind:this` element outside the `{#if intersecting}` block, and only gate the animated content inside it. The bound element stays in the DOM even before the reveal fires, so external triggers like `scrollIntoView()` still work, and the animation replays every time the element crosses into or out of view.\n\n```svelte\n<script lang=\"ts\">\n  import IntersectionObserver from \"svelte-intersection-observer\";\n  import { fly } from \"svelte/transition\";\n\n  let revealNode: HTMLElement | undefined = $state();\n  let revealIntersecting = $state(false);\n</script>\n\n<header class:intersecting={revealIntersecting}>\n  <p>{revealIntersecting ? \"In view\" : \"Not in view\"}</p>\n  <button\n    style=\"margin-top: 0.75rem;\"\n    onclick={() => {\n      revealNode?.scrollIntoView({ behavior: \"smooth\", block: \"nearest\" });\n    }}\n  >\n    Scroll to section\n  </button>\n</header>\n\n<IntersectionObserver element={revealNode} bind:intersecting={revealIntersecting}>\n  <div bind:this={revealNode}>\n    {#if revealIntersecting}\n      <section transition:fly={{ y: 50, duration: 300 }}>\n        Hello world\n      </section>\n    {/if}\n  </div>\n</IntersectionObserver>\n```\n\n### `skip`\n\nSet `skip` to `true` to unobserve without disconnecting the underlying observer or losing `entry`/`intersecting` state. Useful for pausing tracking on an off-screen carousel panel or a closed modal. Set `skip` back to `false` to resume; unlike `once`, this toggles back and forth freely. `MultipleIntersectionObserver` and the `intersect` action support the same `skip` option.\n\n```svelte no-eval\n<script lang=\"ts\">\n  import IntersectionObserver from \"svelte-intersection-observer\";\n\n  let elementSkip: HTMLElement | undefined = $state();\n  let paused = $state(false);\n</script>\n\n<button onclick={() => (paused = !paused)}>\n  {paused ? \"Resume\" : \"Pause\"}\n</button>\n\n<IntersectionObserver element={elementSkip} skip={paused}>\n  {#snippet children({ intersecting })}\n    <div bind:this={elementSkip}>{intersecting ? \"In view\" : \"Not in view\"}</div>\n  {/snippet}\n</IntersectionObserver>\n```\n\n### List strategy\n\nBoth [`MultipleIntersectionObserver`](#multipleintersectionobserver) and [`createIntersectionGroup`](#createintersectiongroup) share one observer across many elements. Pick based on how you want to wire it up:\n\n- Use `MultipleIntersectionObserver` when you're fine wrapping the list in a component and want a ready-made `elementIntersections` map handed to you via the `children` snippet.\n- Use `createIntersectionGroup` when you'd rather attach directly to each element with `{@attach}`, no extra component, and are happy tracking intersection state on your own per-item objects (as shown in its example above).\n\nEither way, avoid giving `IntersectionObserver` a single shared `bind:this` variable inside `#each`; see the warning under [pooled component](#multipleintersectionobserver).\n\n## `IntersectionObserverEntry`\n\nNote that all properties in [IntersectionObserverEntry](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry) are read-only.\n\n<details>\n <summary><code>IntersectionObserverEntry</code></summary>\n\n```ts\ninterface IntersectionObserverEntry {\n  target: HTMLElement;\n  time: number;\n  isIntersecting: boolean;\n  isVisible: boolean;\n  intersectionRatio: number;\n  intersectionRect: {\n    bottom: number;\n    height: number;\n    left: number;\n    right: number;\n    top: number;\n    width: number;\n    x: number;\n    y: number;\n  };\n  rootBounds: {\n    bottom: number;\n    height: number;\n    left: number;\n    right: number;\n    top: number;\n    width: number;\n    x: number;\n    y: number;\n  };\n  boundingClientRect: {\n    bottom: number;\n    height: number;\n    left: number;\n    right: number;\n    top: number;\n    width: number;\n    x: number;\n    y: number;\n  };\n}\n```\n\n</details>\n\n[npm]: https://img.shields.io/npm/v/svelte-intersection-observer.svg?color=%23ff3e00&style=for-the-badge\n[npm-url]: https://npmjs.com/package/svelte-intersection-observer\n","readmeFilename":"README.md"}