{"_id":"observe-element-in-viewport","_rev":"16-505005c679278adf83047b6f7424c5ef","name":"observe-element-in-viewport","dist-tags":{"latest":"0.0.15","beta":"0.0.15-beta.0"},"versions":{"0.0.1":{"name":"observe-element-in-viewport","version":"0.0.1","description":"In browsers that support the Intersection Observer, this library lets you find out when an element of yours is in viewport. The viewport itself is configurable. It can be the window or any other element in the DOM. Only requirement is that the element who","main":"dist/bundle.js","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting bundling at $(date)---\" && npm run bundle && echo \"----Done bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{"typescript":"^2.8.3"},"devDependencies":{"eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.11.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.1.0","prettier":"^1.12.1","rollup":"^0.58.2","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^0.8.1"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"da18764e51af3102597f56fbecdf4140734f36a8","_id":"observe-element-in-viewport@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-5EygkQRRM4nyi3IUFetf6CdPRREQ4VMyDDmAvCzdsQ2C66cbFOVxgeCdoUU++m6eWMez94TqoDAKQNo6A3TUpQ==","shasum":"9e518dfc70d5afc8b619b853b07dd3a1ab4919fb","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.1.tgz","fileCount":10,"unpackedSize":24719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/UK/CRA9TVsSAnZWagAAhjkP/ixp4Kx8AlDLZxnSS1ou\n78DRjwRgteMsUniu4o9DeIHvhW+qkdMtL7oaGEsIL0dchgfIuncbThR8JYrp\nux0E1OYIGvZKFrhyyiHUKa4teFL9gRmj0+Rajncp4c7svg3cnSJbzASr8cO3\ncXJZtwUTu+7e0V3GaKRATRFr/AJlSrfuKOSm2JM2ViZ4eBeHGq4SY+pUO6fw\n8VgX24ZFUfqRlfcg/hocSQg7Q6enO/BrQ+T7cMgzKcju1OjMMd5du60Noc4M\n02Pxio0qefOFlcpGK5H+8289OFhRREyz6diJLD81XgCUYPiMmM4ldL2I65fd\ncGVzjr5bgrHedwQXbP37VUJusjrgfjeLLSZD/AxESJ18IkkpOa9LUn8HMDyM\nucu2675uO2hM8Ucn8PzmQ1DHD37pmIL1nMjxREDdpdhGyNnSN/UdkC0nBHv+\n5yxcgbRONM8cy0Afb/YkzDkW5qyzhZOhmliP7I/7NGy2EvuoWeyRHN/M1d6c\nOK2fRmxrEoTS0bDrbdeC8TogUv0ypFYHJsP5zJr2V18JVKg1/hfQPRgq4LLT\nB+cE7ODKf941rxTk2Fdg6H+9AR1fPp/OE+pGxfiD7v1o7vpCsBsk77/z7WMv\n9Hozw/IFunYuGG++FzPFe+sJJfzNN1JDw4n/QGu26b0jxoUsJW2z60drEs6c\nR2Be\r\n=9vt9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLkk9/Zl5tNtdPnHgw1k1beRTZ4ILnKOKRWBjVyhHaXgIgVMlvWqFs1ILKVZKCjTc2V6X/RcLaNtl/TJvVIXWux2U="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.1_1526547134280_0.8941378977182826"},"_hasShrinkwrap":false},"0.0.2":{"name":"observe-element-in-viewport","version":"0.0.2","description":"In browsers that support the Intersection Observer, this library lets you find out when an element of yours is in viewport. The viewport itself is configurable. It can be the window or any other element in the DOM. Only requirement is that the element who","main":"dist/bundle.js","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting bundling at $(date)---\" && npm run bundle && echo \"----Done bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{"typescript":"^2.8.3"},"devDependencies":{"eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.11.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.1.0","prettier":"^1.12.1","rollup":"^0.58.2","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^0.8.1"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"7668000f061e0471a8fed9f63640b798189b813d","_id":"observe-element-in-viewport@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-xi8qUc5MVe7M21ojBLrehySk+iPA4k73a1vnw1VUGZ3ZWtEHvwB1tlud9zrwwiAq88+zYyruXpYmQPQVeAAT6A==","shasum":"4806af1f200869f1901164b916fa29b29a00de4e","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.2.tgz","fileCount":11,"unpackedSize":24735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/UMzCRA9TVsSAnZWagAAGT0QAJgP01tVu4KP1YKPauaH\nyvfAv2uwSkpb9koMwok5U0JwmRkdA5OMaw+XUjU3CEo1cuXkcKZugUL9KyvR\nGq/kHHBxAekNA4/3bY5JuV4dHFSrTeybvYwnbxWeDCnasqcr5Qj91gxO8k+n\nwZhB4gmMIY9vczgPuoF47HhmoL+uupB93FOuVFOxux3cSknfIQrcMkmRIHk7\njTB9cjUXXooKnZfqp6o0xnE+A89No05/iEKkn3Yb+UEqLUlM+8msnjJfSk01\nlPqUbbvNwevHfyzqKhzm83UVznycEPqXXgzlNr4ueeeuCbPt2RmmEUm9ff9f\nQKRvqbgNbubjByHX9n4dNH7P4Cplhe2rdP4GiZ9OCVlC8GwEKjc6JpwtUHNm\neo/rPSKSKYSn7Bhz824BY/bghGJNSDyLcYN3uYaGcPQs4vUi8vnO4ZSQw35R\nw6k1Gbjd8yf0NITua5lhpUrjeTWWP94xWeyCO1/5Xa9h0+23T/qw5mO6uzgX\nhb8ToRaGDfZnmMArqayzJ0qOgB+9qkMkXucVI2HONlQ3SD5YBK+0S19nTF7p\nV2P2CBVk56KzJHsL7nMUihUxa2KPWR1ZLe8Z0zrKtv+KPHYRfsmMvvKkWY64\n7LfmoAhOOlfslOkGvaNJDSQXGgi8gM1nbKVrqGsDUERHsT1WHbWDYUNm5k7g\nijEO\r\n=iw+b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChyzx+bql5BWYFPu8aTPhwMsKLqjOFY3GFcQKASOoPjwIgDfGMO59dn4MD/LJIhms1NSX/NetOVJZsdTm4KViQ8/4="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.2_1526547251016_0.33656901926385663"},"_hasShrinkwrap":false},"0.0.3":{"name":"observe-element-in-viewport","version":"0.0.3","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/index.js","types":"dist/index.d.ts","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","prepare":"tsc --project . && npm run bundle","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting bundling at $(date)---\" && npm run bundle && echo \"----Done bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","rollup":"^0.66.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^1.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"0f5eea39b4384f5fa796933d19584fdb085f1ad8","_id":"observe-element-in-viewport@0.0.3","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-GimrAdHJI8tdq8Bp2cwi14uTbodrSI59x93ZMCkTlCDtq9HtEeGuTmnd8rwCdhMWoR/PBiCyGHHhTMUNlW5F5w==","shasum":"fc9c152b4f08e484a4aa266e78cb56cd1b2a142d","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.3.tgz","fileCount":16,"unpackedSize":31972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqs4wCRA9TVsSAnZWagAAbTYP/2Ws/DVRiC4XW2bsTDXx\nfeFSC9NUqoE5gZ3A0kjMSGnzO2QJlF6O00/JAXxCymLGUIeSdlV2eo+TQOQY\nH8JB3r4c9/l1P49KPFcZMkuHBmZv7JtWE1mb0dPP33D/cISE6D/1EH3xp1jf\nAPGTaySp7D0quhQZW1+6q6tBvHyHTvMLFKHNYUu3Qdcj2Rrzg960ZFT/t7OS\nLsJuGPTFfjJuaJBGmQ8X2cGV6E3h+iGSIXhQtfjBz6SxsXno8NfT7eTW6vEM\nw8TnLrxchCqMnEfhx943xNFwtI7TPLfcPYzBl18gRbCeGShN1IuQK/zyZuet\n1LWeQUZLX31mesUkJnUuZDaI+HIhV72CRniJFz+e9wZ7Wv2jBuSpaUdcVVqj\nl6zDZuMUyQ1U7kcLwOabVcBRMv4U8/5/PuflpcVKFKzZHemlCJ+ncLaXceq5\nHquUGV+kzWQb0BvoLS+6BxxW3BpS8vXhds3rCmbOqcSUnV1+ga6EjH00a1ns\nl3U0VpcoiVG758ASVxzOwbeWCpqpDsuGlqnHDo/joGeYejhc9ZJGsu6polHT\ngiOGgXVD0oaKYEtUW1Eu/tIi5uKwigRMtPyUlJo3xKPa2zASojEh5GRJMsO7\nx9YTjjmF2hwWbH1+m1YTS7UMuCUiaWYyrqi4rxqAXG5EV3XvCWcGiPoVW/6d\n7VFd\r\n=65F5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwH9QRjQYCs987wcVMJlfovZt+vEieKOLZ8vzOhRdhzgIhAN8J+smhN/MLYyr6oN1IRrntrDJVW2py8F3UW8dP4p1M"}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.3_1537920559866_0.39406121277608697"},"_hasShrinkwrap":false},"0.0.4":{"name":"observe-element-in-viewport","version":"0.0.4","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/src/index.js","types":"dist/src/index.d.ts","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","prepare":"tsc --project . && npm run bundle","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting bundling at $(date)---\" && npm run bundle && echo \"----Done bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","rollup":"^0.66.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^1.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"627aa14857288eec19b8eed8d8d46fa912013223","_id":"observe-element-in-viewport@0.0.4","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-5xLrieg+bwxUWXn9oCIUTZNUN/RNMq1UIkUlUjymA7UMpu+JAjgVP0NLRdw16J4ms6YmkYXjmKHrWXO/8qhZBA==","shasum":"2acc4caa58d324a6853485caed3e0006f06ba6c5","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.4.tgz","fileCount":17,"unpackedSize":32436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrkCFCRA9TVsSAnZWagAAEucP/R2cq9LkmpMbZNWbjbmW\nOLscNB0Ax+n7nckyhEtCPmrIlPb7uEPwONoqSOvzeu5+ExDHrZrbd5QPZuLL\nEtNtHPHil3zzhrrw/VUoWyna2oteozCYX5Sz5MLJyYZW3dgqveWNJjVd9dcA\npWPr7gTyd4pIryMelnTQ2Kl/jmB+ExbdJssGPuw8vmzEn95CkAww0IAj5b7F\nQd3QnOw8ij0RytmY58WiqLeNhC2ipIbgJgmIAL79ISfQuxamEupdciiHeex2\nxTlgtUVmHF9Ijw5sdKMqCkMfost+auZDzMNArUxS7BNn67sfQjIbbE7FS6Nn\nqOCpHdwRuai89EyXt5tsDhfyIP/O+60d+SzWQu1LN1naZULoxNlyQTudlgne\nHsIX5gTN3vgPuxnhgfu6/Eub2PmUs3yfWY+LQVizMvKzLLS39+pGkVHhrxop\n8bITUOCeAx8UboiFvhv1I4qKBIu98eKZs3hcKZJoa0tqr4bed8n0x18VTnVb\n0h3MgxxHxa2slxON8eFWi2OZRow4sJHdq8CboJutJV1h4d7B6PSB052fZppQ\nms4AryCnq41j9PdkwxLeVzADBprMasgVJYnf4Aq1CzmelDCfz9NfRTzv56Sf\nIkzEQYXmwqNJn7tAZEmzVmTCIRf8z/zi+M8oKd+SHZSJ0GYBrQqESN7Jyqnu\nO9QG\r\n=SJtd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDul26nmTfIDr4eiWXJhX2GOU0lTOuMN1fAoP7qboCQiAiB7mj4s/g4jeIPkBTMfSo6AG8ZSHpQlhrKlPKfowf2taw=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.4_1538146436047_0.3646005012425271"},"_hasShrinkwrap":false},"0.0.5":{"name":"observe-element-in-viewport","version":"0.0.5","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/src/index.js","types":"dist/src/index.d.ts","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","prepare":"tsc --project . && npm run bundle","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting bundling at $(date)---\" && npm run bundle && echo \"----Done bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","rollup":"^0.66.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^1.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"3332018a2307b2565b7f0194041f6834374473e9","_id":"observe-element-in-viewport@0.0.5","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-uJNyweL/J80+jf7Q1xTT9J1Pw6aNuHSHjqOWYpe54on0uCKclibHGfHCSb+S0daEmwQvFeNlQQe5unhA5anyxw==","shasum":"9f99450745d7c05e6a9009f025be13713dcb4a97","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.5.tgz","fileCount":15,"unpackedSize":32619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrmezCRA9TVsSAnZWagAAxzsQAJ4OOG1Aoum3mI+70utX\npDE3/27nfq3wP2xZ7UEdOYkW+/J41Wo8o4L3k+rgzG3Zz3eD1NtiDe31LMCl\n0tG95pWrK+omUGgdPWmymlJv6LQ3fLHODYeayycvxzvtfsjkXzj3VAlgMEkt\nMnVwGRMgCr6CJjjq9HLUQsdl/6mcLHTZbaFpGjs+fgisF5YGhyz34p1BJlxa\nqByT7QC2b9x+FxRwK8hQjOJj4DYw0V57wJ7Pyupd92sGer1+DYGsAcIu0zl/\n4YWrUW2sc0vcgeDrwWUZeOe1hz1R+oxBW7nhdLrftqjJRs948Gl/zlm+NPl0\nxwCBs/ge+3UM9K9Iz4yvpIHmfDTwKbXPAtEdnBuDa2WM6e/ebPaT0wdTseyK\ngiSBU2oVU04kq7lNgDQC0qhr1rVk30kLIeurmOPS4ex+u5i52jFdPFjhYabr\nbzMmVlnAt2eBj+StWbuT9/7AtXQB45HTR4RcTNKXxtK5J2RVNRlXa5ps3M+9\n3slQvkpVFQr4ppKs9ClUW4/dlzH5wSvkdhXpBdRaZGWvP3SMQt1ys+0Bpvn3\nGhmr5hN2Cw7zR+U3KKps34UmNfpxu8wZpcU3af/Q8aBOxDIR01kcVQ+rMzcy\no4LzCsXBvxw4gzaXh8VptvMnUITMZB3KR/MmMfOpPSrs+QqXpPpls7BKrwNp\nXsI6\r\n=w6Pz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGD389qeaC7UnJgPLB43+qxpcI6Fpw1la6k4BqHTChq1AiEAmREuyC50uVwVexTEeQHyWg/3u6wmWi1iDUKAnaEMirY="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.5_1538156466907_0.5794344715870281"},"_hasShrinkwrap":false},"0.0.6":{"name":"observe-element-in-viewport","version":"0.0.6","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/src/index.js","types":"dist/src/index.d.ts","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"tsc --project .","prepare":"npm run build && npm run bundle","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && npm run bundle && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","rollup":"^0.66.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^1.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"db97e1caf6b21656ed9ef087e50d7af589b24bb3","_id":"observe-element-in-viewport@0.0.6","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-P4p/2Min2L2JHvxvJos3p7FNDnxVQWURjldKKC9azX9nd8tLAc3qPWsHxF55tbChJc+z6gb5rI9l/i2Ida135Q==","shasum":"492ef5e150c1ee6548c70a257aad6b6c92b6fd8e","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.6.tgz","fileCount":19,"unpackedSize":42709,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/IPACRA9TVsSAnZWagAAAC4P/ihejhBRVNn+Ksczo8hh\nWWh7j71TLBbzjFhc7hkWZy6Bft3oZ6E+xSMTT5nV5jEEXn6k76GJONulHhBU\n1b5xgnWlS53NJt3KKslwc1hDdfUCReOyYbKGvVWhnPOa2nMl/qRtLwAC5kP0\nydBLIT0E3zfX9wA3bP+uoVMAT17hDPFuDAQTr8vTRFkYUUc0umRdvPQRXrLq\nJUkewxO5Nw6ov/bQgEZ6F1X367Sg8YWgBIRI2riM/iwQJyKL1DLdNBLiyOwO\nOAYv4/hBgFOun9Tcc4l53ReEadWmCgcc3l7ul3odYU62Iv6kcwB7JPKGvkBO\nGugkHC/aJhU3pBmbP8q2IjclPS0Z69+z1FX4mm3EqypoXVM2qi+oP1xlzwcl\n3jQQ3PbXOAxXREYcEj6ozaMBb5V9jD7C8bqkqLFRnLueYW1FTKp1Hkp+cFdu\nxrPOzKoezyRc518KdcP4IT+02oFQb9G4S4CQYMDKxj6nTr5F1wLpnfbvdrEQ\ncY/t5t3ieiQN/E8b4Lqd3wxAzFAXFgbHC+VZNNnK3pRvMvi1smg+e/bw6RFi\nqyMAQ1n7EzKDB3ajCFLHvxEI+FsqfNYqii2SF0Mc67huo30OVPKq9z5WmFrj\nm1YLcVxQTEXkJUQeIM6O/+8yj/XRUV5BHSHqy1F0F38LO5KfXEbCfOfos7Uj\nXMZg\r\n=wSni\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXo5pdGfbZU4QjuJQ8fNnX7RBEZhwoe2SAnag2ixHbfgIhAKUUxQ3/asrr8jdT47ZWWYDWDlz0UpJsfS+zxPgHPWYV"}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.6_1543275456175_0.2935924901844167"},"_hasShrinkwrap":false},"0.0.7":{"name":"observe-element-in-viewport","version":"0.0.7","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/src/index.js","types":"dist/src/index.d.ts","module":"src/index.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"tsc --project .","prepare":"npm run build && npm run bundle","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && npm run bundle && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","rollup":"^0.66.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^1.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"01d2c0113d04f3898c3dbdfc7be4cc8c74ea0de4","_id":"observe-element-in-viewport@0.0.7","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-nKeLRU3jmNjgcEiDjqCjZPLG9jwE/6qiKewgaU2Zs5G6m1Xeky5p03MeFrDznbmSBgM0UzmpLjyUiJ8kxUwH2g==","shasum":"89a4568ee8eba0cd154051895f4452e212f31362","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.7.tgz","fileCount":20,"unpackedSize":43834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr2WICRA9TVsSAnZWagAA74MP/2O3ot/Y7NNdIUFgQAth\nfuT1H7yw74YVll2RrWc0fbsslUS1WmP+f9Tn8frXp3U1cnHtq2EyHFu78Z3U\nxCyX8gJxjKnl7RptV4KZOcbTceB8RRlWyz36qX36kKUTOiM+/qFuQ1bwjIHT\nskEBST3wBZtgW5OFXSQDFv50pDNmlqtdT3fmmjdA5Fu8XXa8uLNG5Idjojgz\n7pCyEP6/kyCQ0f0DSTe9gGj2NH44jF8g97mq9rY01LCYsgKNSNa0Y0GuK1FH\n2+wjkFt02dkAuw+3NRGp75TT9WzAEo1+81wB2hTW7DFRJcgfYDxwanuoLJsT\n43G1Zb2gAF1HxoYBqd3z4VZ9BDrhcrN+8oex92HKr0OMqlEmjcxH24fHo5U6\n72tZ3IAXCrCppknbnKpayPnqBB7ippBFMeea6wgixd/rRXRGDzHzIPQkyulz\nblGJFC5JG6DeG8WeXzpV2XH99w8wxJ+qTVhXXH1PY581Q98wj4PCxIQnXAr4\n2IBrVK+K7yUgL/qtnV61M46ndxAkqqbyQr7fkJeweTm3YCbYrBTJjKnxZh22\ni77R06FQyu4WXbdArqEO+MMANJGhKpcDdANrAWPhFGB3pAN8AjVUOdrlG6WN\n5vBGJwAB/j00WSnOjgEmd7Lj2gO/EfSUPd6VboO2ur2vzuRmTm01G6V25yGS\nJ4mr\r\n=/Vgg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLJtbMp6VD2Il6/9p4zyJq7XMNkrER6/dd5l1dXlgLcAiEAq+lvt6OY68KM2XGXEtu9csI3EFnAspn8E/TwDv6nAQ4="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.7_1554998663349_0.44969861320680127"},"_hasShrinkwrap":false},"0.0.8":{"name":"observe-element-in-viewport","version":"0.0.8","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"tsc --project .","prepare":"npm run build && npm run bundle","bundle":"rollup -c","watch":"fswatch -0 -o src/index.ts ./rollup.config.js ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && npm run bundle && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","rollup":"^0.66.2","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript":"^1.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"e9bd197b66fb5797ef232c61168a8e4c980dddf7","_id":"observe-element-in-viewport@0.0.8","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-563eVxRRATZLxXxd9N1HRSETkWMDbq7OgRSzy16Jzb3CA6Zb0PWEAsrb3nCFtk67MlFcY+WNa5yzM+mdEJZn1A==","shasum":"65a78293248d2d753e9c3a8780c38e4be40aa729","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.8.tgz","fileCount":20,"unpackedSize":43776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsN/FCRA9TVsSAnZWagAAzOMP/0ESZUgsIbH270XVCBrN\nfAgUdgTCNQ6gFPEB6dOqNSugK6Tm4z9cPPtQwUVFHFE5n3bq/0D99n1Un0bE\nBIWyaBYKJhGfdHvdIJ1hjVWG8OigeZl03A4SDeEh5Vw5/t00STkD3yKl2J4K\n3XqSAznyCZp6Px9zbGo5+fMRBNqkRGmqL5VuPBr6J2pdUEiZFK9a0FymPMTt\nbgNdwdcx9/6etBTQyq7D6IlpuLDnbk5YEFA6q1QP63YSe5li+/JsQIuolpcA\npn+i6Bf+sN9Km4HaOfm1bbUE3fzmHWDy5JYuJQtLN3vI++3nqtW9iZmaHP4u\no2qf/35WUXWtDZVv1d0qER/Uzle0sv/Bqj3GqiL2rYlUUdg01oRuxm8ng3V4\nsG2Gvfg6D/3F7b4oZvALr5QSXaR5wkT6DPivW3N23gU+9RGrW4RwXG9dB06e\nUc0TJ5RaVGuSNvED/HXdAByz5BNbX9/vJE3W58wtLUUfokHA619cyM0MpS63\n+IR6aGP9B4rrBJxBAjQ2BlA7cQ00h0s4w9TqlbBeLi7lzaDPz7EmZbyXXLkR\neHwGmfpWspvicAjVFMk10EiAyWPrTW1am9WFUOdlDrEE+PWDz4np+JHb28b4\nvFcINKbXqLVWFtHBrxK9/R5wdY8bNo3gZWQWjWDtv5dhzQh2pyRRfPd9YTZe\nsIvU\r\n=X1py\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz7wmiAK9uaKZ2OJNT2hxJOoP+SkTFXnBdNjwwTcs2gwIgCf5lS3jgbmG1E8z4q9/AhSmhdwAlpxNijS0vmveppvw="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.8_1555095492683_0.9204153362489962"},"_hasShrinkwrap":false},"0.0.9":{"name":"observe-element-in-viewport","version":"0.0.9","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/es5-cjs/src/index.js","types":"dist/es5-cjs/src/index.d.ts","module":"dist/es9-esm/src/index.js","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"npm run build:es5 && npm run build:esm","build:es5":"tsc --p ./tsconfig.es5.cjs.json","build:esm":"tsc --p ./tsconfig.es9.esm.json","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.es5.cjs.json ./tsconfig.es9.esm.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"4bd3ef74893249cb7ff9e429808b04f9ff736f65","_id":"observe-element-in-viewport@0.0.9","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-S7YCxs1SrVV+MdGNRzfsojvE5mv1/jTuoRDypG1ycMdRQ9qsjMiBFXH7d+a8T9HPEf6N9xhOKIWVJUwKM/aIMA==","shasum":"97d3fe7fab9b47b59e6a59cc74965273431ac856","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.9.tgz","fileCount":19,"unpackedSize":33266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsctLCRA9TVsSAnZWagAAo78P/3AXWKmq0K1uOzquWerW\nztvlN6WRfXehlDjX2X99CFgkWp4z6RgYqMH/FWUY9uypKWalHkArmeMpzNlH\nkrTvqboVzKQ1uKnHzfMxPXzEehXD5B6DaxSxgF8HZYSj08pqKL5/6LCwwITe\nTjZHqtNAWicbcjCs8O1rS2DWOv1xpjS+/iofWlbMwSdRQLb2Yujxinj9k/AK\n8zaXurzVTax2/G1r9alKZBrEY1+5hnxaY0MRgY4WlxNbKho+4R63BmsqPOuN\ncP+vIXHQQcvpgQfpzHlCD99GyEW25A5uHhn5V3eJI5Z7Q+Z4AT50O395393p\n2kO6tx2fp/4FFHfbF7X5YwbVzQe7l1FCOKv3R9kKXG++ho9/6E12j2+YugVa\n+6ssB7am1e/wyfaUDtyZX61WtU2etKjO5rOfNviIAJbNIKcwMt2/8QLkdVat\nVB0hDBccUvUbvMwYkjOVWbj4EpsLJXZoUddcSeTqRbW0+uoyjOuQR0w+0lVP\nMlR2+gEnF/odBniDEKnWk7Bd28yqR0fSPN+EjClp5LkxdIFAIO1JWQ2ukLZ1\nBYLD1gT+aTpfGZ897uG7bcJpUw5tHZ77J3Cx0nNvMgkMl4f8Lv7oauTKr4pu\nVy8PQqgMsCoTKyvFej837PvmLJd+M00k1hPHeM+kNDTVBlAghFKITQUCGJGi\nYMWB\r\n=O9yH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6XXX486jJuBmlAf94RwkLbs285MbrwzkJ1KxWx+HucwIgfOHTXblIDYX9hB7wA3YXIos1NM03gBsnJbfoOtvzVDQ="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.9_1555155786418_0.8172621530587605"},"_hasShrinkwrap":false},"0.0.10":{"name":"observe-element-in-viewport","version":"0.0.10","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/es5-cjs/src/index.js","types":"dist/es5-cjs/src/index.d.ts","module":"dist/es9-esm/src/index.js","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.es5.cjs.json","build:esm":"tsc -p ./tsconfig.es9.esm.json","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.es5.cjs.json ./tsconfig.es9.esm.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"da1c92218b0f3bfef29c5733cd1294db00bc971a","_id":"observe-element-in-viewport@0.0.10","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-qt/1uqIP+gVtlEL/y1tdhzCfZof2PahLXpMbB1N5aiqPGgYJPZoAlU8U4CY/hIBZcdw1GruejLUY56SF4bpdHA==","shasum":"3c7b4d56152e9f4f78c76410f18bfa35a9e3f8fc","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.10.tgz","fileCount":19,"unpackedSize":33265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcs43+CRA9TVsSAnZWagAAh0kP/A80pmhIRDq+kmmV8f/Z\nY6oek9wR0IPP3NVFqzWidiJhjVqikxRVrTgxaF6W09zieCy8msU/AvgMkj4W\nxVazpe1FwRlDG8K/R6XLz6y7fxfqxl2wkeUxalk3hF6scxiv+iN5Wft/bDFh\nGso8mdAhVU4VpBpHN3Joe4ehpvzeNzMDR7nrlm4WrWNgMGZ17i+msp1REOaQ\nFQ4Z0HtitVU/ZA4OMM5u2fww8a9e7IEWB2p3AdQbXjm5AIz+P7Ts3z9x+CDf\nogvvbjdV+36d1KFwRn3R9Ro3unK7Ct9kQUdpWjwgbIPJI5X2hIgdBrg5zvFQ\nAbeL5LtiGIJ7o+Qg/SSqtYl+pl4S7IaMOiU++o0e2hEPrtUnPj8yZNhORHGd\nu3FSNYmMoK8xJSCIVrrTw9T/c7TgYGOjsQsWOTHgDOckxEsZWPp1pphn0a2C\nsSHZuRV8wXKEcZRKTqMNzKGGZoI/+E7oZB9XraHjbChDP0xlDpGgDVxWdPXB\n02PQccjplO0/HIl0d5e2dbO0c2eoO0shuiU/ja4U4YWs5tYwlcYDK0V7jhRr\nunSO1lPw44fuzZQzLYb6I2VxwaBqs6fJEMkNVw4oAa7FfdvY6zmI7AjGheLZ\nNHWRgs+FvFE700GBX4OVQkWJaLr3v6/gI67iwHnlPrKD9uD4Tfe+e7VB783M\n9kjS\r\n=kTkm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWJSNJO/ouGVvk/gwwRGL5zvXpXlEBj2jTPxAcehhbNAiEA2QhtipMBYiimZRFsuxSdLQ/nd4kKLJHhV+Wypv5el4E="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.10_1555271165392_0.6643157463829121"},"_hasShrinkwrap":false},"0.0.11":{"name":"observe-element-in-viewport","version":"0.0.11","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/es5-cjs/src/index.js","types":"dist/es5-cjs/src/index.d.ts","module":"dist/es9-esm/src/index.js","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.es5.cjs.json","build:esm":"tsc -p ./tsconfig.es9.esm.json","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.es5.cjs.json ./tsconfig.es9.esm.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"f507280eb2bba69eedc805d4e9681b758238ba52","_id":"observe-element-in-viewport@0.0.11","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-+7CMPCJYXOHzvL2R1E/xZXCF6mWFNmqjlPwbU4QftnCFxsn1AwkcWfwc3+5pvfb+UMDFkCrGBpiW57L8HnIbbA==","shasum":"9bdc6a2ef69c470fc95ac80a369257f99cd53f35","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.11.tgz","fileCount":19,"unpackedSize":33312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctNGCCRA9TVsSAnZWagAACioP/0MD6tU82uoT2jHE1BEg\nLisL/qBJKmprL0v5p/BcBBaG/17C54VAXQ8W0Yhp3CpNkoTwwPOQ90m52xvX\nLphsyp1Tjdw1UyE6r+ucH0qUElVpMWvIYzDuXPi7oDs+rcNLK21furbLwUZi\nkRqRmM8waTpkITjmbeZonVVIuJ404smZwsU4MhWDyu+2bwcInyG99eUY/0cM\nqJDF2BycazrNVGrjgXz3mg9AJ4NsX4Xc+wk6Q/B2jBCGPv8QfNUKRlb0FjJx\ndWbk2zXEky1PAgNDcM+0p1Le8SZ7qICDj2RvcS6Kw5KLZNJ5ITzdIrtIzYsV\nHg5EQsdXvUx/OANfcZHanmlM/IwoT5brdairnG24ZpQCbSrT8d28xGUVRs+z\nHXd6359Vg9pXeBAaWCZDRqftgKDuqOpWO1Xx6ID7EN8Jhlb+rcTJnWwHV3IF\nGKziBj3pBDxUScMhX9vr+UehfrmvGrH+n02I55HyDpRtXYGSyErDTtpwSHB7\n+vIJv5Psh3T8wfsH++FlXFQORmbIKiSnAJ53OME/eJFCvmpt9o2x4tvPaqAJ\n420AxtFcBHuUr83xQfiPimJgLwY7M83DGb3ShbFI6qINSrTUwutCKjlB4HCI\n3Oxi1d0RDDzf6Zw908DcXSsbVR1ZWVO1gkzD2v0rOOTf7P8WHCMi7OCb+Cgo\nk8u8\r\n=Lujc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR5rVq9lYniqArvmo7MTvyD3hSV+so6wKTYmYfLzZwhQIhAPyDXwjIctn1ULiH27a8MgZRwEXfM0QBdX7odkx3lBwl"}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.11_1555353985264_0.3255181132734317"},"_hasShrinkwrap":false},"0.0.12":{"name":"observe-element-in-viewport","version":"0.0.12","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/es5-cjs/src/index.js","types":"dist/es5-cjs/src/index.d.ts","module":"dist/es9-esm/src/index.js","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.es5.cjs.json","build:esm":"tsc -p ./tsconfig.es9.esm.json","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.es5.cjs.json ./tsconfig.es9.esm.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"83bca31903fcf57108270848d4eacf311718ff09","_id":"observe-element-in-viewport@0.0.12","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Q1WtFrUTEF88bzaZoih5GR3bnY2Dolx2GjgqAVpgWX8onKAKnWV0Sji8KuE6GNt2DZZb1RmqmwcvyfZ1lSd3kA==","shasum":"641de4f70b8919acad504565bea78e2e16ef39bc","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.12.tgz","fileCount":19,"unpackedSize":32486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd39TGCRA9TVsSAnZWagAAfrgP/iJuv8Ds/ktvMzs1+jfn\nYFqVCgktyWU6W4mOmdwR22hiPmWt3GJzwzZWRw9Yp4cH59e92lAXflzugVty\nAHgcJxGMX15a1XYNWhbKdmbJpWSJ42via7cLmRKuNIRfkSEEacjZV/f9uZfh\n/yDCsrBJmJpPaBnmi/jRyLRyKN/JmImaobJO1dBKxqcKVIb0I9H/VGIf2+st\nIyJtatdu55oM9LzMLv7cnmU4oBwWq751laBHhZID+YGyACqGU4gaaH7Ib2eY\nllRC6v/7D+amRmjFiCayHaqLhlHEjoRh5bwMOc176Dg3yVqdcuLNGSgpUcwZ\n2P9k0Tiu9yPaLK8jYoB9TVxX+CW+KxugpDiSrZeiXsw4BN/TuuyA9TIQ8HzO\nJcj3UdyURnlkxBvHRPDwCu/RnOyznMGndpeqi/YjMsKEOnMhI7JvtvNeWhoH\nornXvTKER4N4b1HSRN0ZI7/HyCo/nRMBisWTDSX8j7kuhkSae1+Zql5agzoM\nR1LOFsN2V+dAWK1lzHW7U9VsKVGaL4gal3CklxlTJHTTLyy1FEJaTk0gPI8O\ngdCYlTFV+QrqiheFZ0V+fdSva1qBG8REdkBhg6gXtGgl+QVid4Tj+qHCT4sr\nfemKohfX3tvZO8AsgezUP30X7adX2j1r1xQ2gfUSYhCn2WPyEHw+90Uq7WEj\nXm2+\r\n=usRd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADLLlt9n+7mkRXIRZEDmNdrAly0EZqycKg803j+3Yj8AiEArvGFQAjIpUEVTM50uzMxZFzduMeo9IbMXqu8RmClPSo="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.12_1574950085834_0.971042494741247"},"_hasShrinkwrap":false},"0.0.13":{"name":"observe-element-in-viewport","version":"0.0.13","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/es5-cjs/src/index.js","types":"dist/es5-cjs/src/index.d.ts","module":"dist/es9-esm/src/index.js","scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.es5.cjs.json","build:esm":"tsc -p ./tsconfig.es9.esm.json","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.es5.cjs.json ./tsconfig.es9.esm.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"b6f6e0ec4ba89cd0ae30b00b1ace492622253329","_id":"observe-element-in-viewport@0.0.13","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xhPUbiR4PcwEJSMvJFWE8lBOAPGP4PV5f+l10ubv0+WgsND65njPuED9kHvqpOxgERs+fX4CXOXDDELKR5T+bA==","shasum":"75b3fc9b327eb1287542f8e48ace76a139290972","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.13.tgz","fileCount":14,"unpackedSize":28823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8W6UCRA9TVsSAnZWagAAP14P/0hFXzuzXWXR5X55Fwjy\n3194EURAfLHiwFVJuVYMNCSq+LxRlocKo7BFFwRZFlqbxuSWK2qko4crfqOu\neuRCkpDh9+5MRrAIFRYCoZAI785kS2d8BcFEsJFMIj3Ue0NE4JcjCMPyBzgy\nP6JRPxe+txO2Fxwjgscpb68owEnFkbJJByqkQavVp3OnvnXATphU/vVTBiaC\n1pqNyIv0gfus8uspeGV9WNiTy0/t9C+niEksNnlG+uqbl7BoDEWaTU7jaUXB\nQTiZtJwEAi09fZaw3CqWxfqMpTBhV9phzOTQHfYMx96te1jChpNXDqxK8CIE\nlqs+lvQxLt80VfS5jRummW4//Zlm0Det9OO3Lg1td6+R2Yn4VAswhcgdxZv9\nlVIdAAXMgJ+yTIOcXOZ+IuOoZRzUOCbXhNoEfJe9BYGgU0ABBB/7aol6ION9\n0oXorvJXp8ec98naeNdzjhZujjvOd7MdnLf8icMgTCR6rnqIblbXqZGCK9/p\nd7eVyauB4DD7i6L2siJPFppckspEEb5KHI2Wq2VRP6N8iQkSe3SwdlWjt023\nclzhJSse4ZLKxi4q/PkQqJICQr45+ewZuCJ/RQl5LxiWlxGAPkG2FY8N5s7D\n5Ndp+tdv6PEBJUddQEwmS7NX4FBhjaMBrlEeG7oNT2UMW+oNEmlheznMhDlw\nDW5m\r\n=DQki\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXsa9QW5ntxwKT08+ifbvQPeZm0GLvK79a8edPeYefjAiAHfqpFsbnXqPshAIBLXtGAnxprSNaWj/+Qb3cv2BpOFw=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.13_1576103572168_0.7336599524775058"},"_hasShrinkwrap":false},"0.0.14":{"name":"observe-element-in-viewport","version":"0.0.14","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","main":"dist/es5-cjs/src/index.js","types":"dist/es5-cjs/src/index.d.ts","module":"dist/es9-esm/src/index.js","sideEffects":false,"scripts":{"test":"echo \"TODO: Add tests\" && exit 1","build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.es5.cjs.json","build:esm":"tsc -p ./tsconfig.es9.esm.json","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.es5.cjs.json ./tsconfig.es9.esm.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"prettier":"^1.14.3","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"c6841ef1bb3fbfa207f94be2df50e77ed525a77f","_id":"observe-element-in-viewport@0.0.14","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5sIA5ScNcePCi3djbMkBaGMHwVZ94yav780MGkYGcV97Tj9o+gGiZRT8QkA+15y2znaJL/J2Olkn3bmvpfD73w==","shasum":"447cd5c1920bf266b4817ed69b3b275f8f242196","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.14.tgz","fileCount":14,"unpackedSize":28985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8XdXCRA9TVsSAnZWagAAaTMQAKRzIoaZ+IQ6XsXNXX9k\nmslFZYir8lO08AWxRTrzdM10E3wKJa92PPMg4U2VCwGFhSoFzUuSExrtgOH+\n4FKqKXr8zTMYM73/RQQgMgl9ksHWBNaX6Uayjcwugdio5AhatIjRUR29NQyZ\niahrh5Hsv/wOeqoa3elYiO8sQQ+4yNCl3zNCx7X8/61w2LyntMuH/szrGLsQ\njfZdSozeYC2R0SEvHZ01ujA2OVuYGVwkDENfYUTae5KU3jbRS8zFI9umzasL\nllKxzhCwLq5E86u5Y2tbnHjSkfXu5THhq+TSGimMErqGUkiJacOUoSHd1/uA\nsjRzT3Rl13eT7ZGe0vNaCx2uHL4LFIqm7nqxHSU2fr3gYf2kt8OYwVPFyrd/\nknb8j8QvMOw/mQqFR1LNUfrXbTrtbLSzue6KC5mhI56fvXXjeZdd+aII5Lzi\n08LS2eYHX9qct/eFjIShGmBcKnMJcQgqFyNMMH+3m+9osZke5icCYy+pCEtC\ntlINyaueC6UTAr/OznPgFdP9SZ2nhPewpjlNVGbdQQzE6DedMDp1uSFhVMEh\n6oLo5O8jivfCicDtPXBvZnVfIzPnrMGWL45pA5sxXZBXV5kYlHMrts8AYjkQ\nZhLV8brgpGBUQtY0hbnqiHpes6qG+lf2Ovtb7GnLo8Gbl0tqRpw8J+hgLYDu\nzIz0\r\n=28nv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhagb5/Hc1mynkB+pARuuVlirf9R9qwZ9nELKw1H4y+AiAaVVN2y07FiEYZlRJiDv5Q0sMR1l9uR2nsqP08cydjYA=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.14_1576105814806_0.5828584355617503"},"_hasShrinkwrap":false},"0.0.15-beta.0":{"name":"observe-element-in-viewport","version":"0.0.15-beta.0","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","source":"src/index.ts","main":"dist/index.umd.js","module":"dist/index.esm.js","types":"dist/src/index.d.ts","sideEffects":false,"scripts":{"test":"echo \"TODO: Add tests\" && exit 1","clean":"rimraf dist","typecheck":"tsc --noEmit -p .","lint":"tslint -p ./tsconfig.json","bundle":"microbundle build -f es,umd --tsconfig ./tsconfig.json","build":"npm run clean && npm run typecheck && npm run lint && npm run bundle","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"microbundle":"^0.11.0","prettier":"^1.14.3","rimraf":"^3.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","readme":"# observe-element-in-viewport\n\nIn browsers that support the Intersection Observer, this library lets you find out when an element of yours is in viewport.\nThe viewport itself is configurable. It can be the window or any other element in the DOM.\nOnly requirement is that the element who visibility you want to check _must_ be a child of the element you choose as your\nviewport.\n\n## Installation\n\n```js\nnpm install observe-element-in-viewport\n```\n\n## Usage\n\n### Observing a `target` element\n\n```js\nimport { observeElementInViewport } from 'observe-element-in-viewport'\n\n// to use window as viewport, pass this option as null\nconst viewport = document.querySelector('.viewport')\n\n// element whose visibility we want to track\nconst target = document.querySelector('.target')\n\n// handler for when target is in viewport\nconst inHandler = (entry, unobserve, targetEl) => console.log('In viewport')\n\n// handler for when target is NOT in viewport\nconst outHandler = (entry, unobserve, targetEl) => console.log('Not in viewport')\n\n// the returned function, when called, stops tracking the target element in the\n// given viewport\nconst unobserve = observeElementInViewport(target, inHandler, outHandler, {\n  // set viewport\n  viewport,\n\n  // decrease viewport top by 100px\n  // similar to this, modRight, modBottom and modLeft exist\n  modTop: '-100px'\n\n  // threshold tells us when to trigger the handlers.\n  // a threshold of 90 means, trigger the inHandler when atleast 90%\n  // of target is visible. It triggers the outHandler when the amount of\n  // visible portion of the target falls below 90%.\n  // If this array has more than one value, the lowest threshold is what\n  // marks the target as having left the viewport\n  threshold: [90]\n})\n```\n\n### One time query to check if `target` element is in viewport\n\n```js\nimport { isInViewport } from 'observe-element-in-viewport'\n\n// element whose visibility we want to track\nconst target = document.querySelector('.target')\n\n// Using window as viewport, it will check the target element's\n// visibility and log true or false.\n// This function accepts a second parameter which is the same\n// as the first parameter to observeElementInViewport fn i.e.,\n// the options object.\nconsole.log(await isInViewport(target))\n```\n\n## Demo\n\n[Try it here](https://obs.zdx.cat/)\n","readmeFilename":"Readme.md","gitHead":"5d02e33899ca073bfe98c7d60bc886e0a6788a21","_id":"observe-element-in-viewport@0.0.15-beta.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xXKLkBmV0dTeQA/rvAi49DZfoaQdM1y0xse8p4xaX+KM4grYzeCCyXnyca/HOz3SJcWpOkICz+lXRjVAePY/Ew==","shasum":"bf89098bb0cee6b8d4736e75c3c788aad4e960b8","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.15-beta.0.tgz","fileCount":8,"unpackedSize":20200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8qS2CRA9TVsSAnZWagAAo9cQAIj7WKzx7OXPPBjMfokk\nACdlEsH8DFv4JEdpMXd9lu6uKp50o3hoRBelvn8ZZyw+B449KDpaoVuuiubJ\nQRUsRcvQvTJyQFQwk7oEV0/yfPVoCZRueqJVq5I+76+x7CiHPQoF8pel5b+L\ntaLEUky7f7bPp+8Y9IFTnMftWx2fMRPOY3XKqQtkOZ7CJQwMzJaZXO2X5kMQ\nEakQrw8bMW4rZVTrn3ZhIskyaemkgKOqSzvhGIhjw6JzZsB6yD3yDQ6xH2cA\nE/JoIlEVpAiJeXTCGNliOjspdd/kK/OClVjFnn8/Hl1qwLAeoK0Sc8VUr05T\n24Uv1HJGZ14jYQ2zpHY0EIpiN2bUcTz5iNc3kKucubEs2xjYfk/ImOwVIIrl\n+LSjHely89bPliSXQqCqnnn8IRAJ90qDmXYCLmrHg9bIrPmlLdoG4JLafM0g\n30ygrZkrZJW5UcWuCtIezJdZ8ZzjO4tuB06YHEYWMzkRb5XyZ73tWVtoxq2y\nnBTR/sEMHNnMVzXjpsWpp6B+HaskJIvYNPdtPTP7xN08CnIYdOKvg6isa397\n5wVqAhmU5i/G2yXTZM99vNX4Ifk4ihhL21ijS+3QXFraxVJ1XTMXCiHCiPuI\nb+S+2EK3DSAsSadC7KeoWEMULEhfvmEFS9GBtMQdV4KXvSeSzz5esHpY78tw\nLhqA\r\n=LKYk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0o7TO6S3Sr7z9Ba05VA8h+exG/JtVubIkufgf0FjgdQIhAM4X9iAiAA8FD6T79C5CdoyBfFf8VJxqeNt+uVFSVTRD"}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.15-beta.0_1576182965821_0.8562582332827351"},"_hasShrinkwrap":false},"0.0.15":{"name":"observe-element-in-viewport","version":"0.0.15","description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","source":"src/index.ts","main":"dist/index.umd.js","module":"dist/index.esm.js","types":"dist/src/index.d.ts","sideEffects":false,"scripts":{"test":"echo \"TODO: Add tests\" && exit 1","clean":"rimraf dist","typecheck":"tsc --noEmit -p .","lint":"tslint -p ./tsconfig.json","bundle":"microbundle build -f es,umd --tsconfig ./tsconfig.json","build":"npm run clean && npm run typecheck && npm run lint && npm run bundle","prepare":"npm run build","watch":"fswatch -0 -o src/index.ts ./tsconfig.json | xargs -0 -n1 -I% `which bash` -c 'echo \"----Starting building and bundling at $(date)---\" && npm run build && echo \"----Done building and bundling at $(date)---\"'"},"keywords":["IntersectionObserver","viewport","is-in-viewport"],"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"license":"ISC","dependencies":{},"devDependencies":{"microbundle":"^0.11.0","prettier":"^1.14.3","rimraf":"^3.0.0","tslint":"^5.11.0","typescript":"^3.0.3"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","gitHead":"590f31e25fcf9090dde37e62410a8485936b50a2","_id":"observe-element-in-viewport@0.0.15","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-BaJGtCHp8XXxe8zFOnsbv93f4SRLb0W5P3okGJkLLKC9IM9aXvpKF4C8lFxivcS5eROlNkhOCnUOSk4tUnJnKQ==","shasum":"06284e84da80bd43c348ac3d957ba6b99fb2bbd0","tarball":"https://registry.npmjs.org/observe-element-in-viewport/-/observe-element-in-viewport-0.0.15.tgz","fileCount":8,"unpackedSize":20193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8rE2CRA9TVsSAnZWagAAx4QP/iFtvXnedvlYG9fYlNoC\ny7COGBuUftH10AKUNw0mLUQgGoLGk+T+EHUIn9vSluEnUmM79gqqRGq6Erg7\n7wh6gqoQpZOQd/n3KeeHgqELe7JfzFQ33Np11ypfd69JkkBAHBG1B6cTjGYT\nV34LJPT9hCsPmEXoIJHucZx+97Vb6J6+Bx4ZI4rLyj/XnCPvA8nGLgPabs44\n/R3OVMcF9W0La7WgVO2Ejv7fy2T0aUxCLiGWux2BzB2FkZIeUbDwTiHSMnzc\nEOf2VRJQ7Xr3EUrmVozRO0/DdB7kcsA+EEaeYf/zxn7p4auO6cjo5G5b2Mj6\n7joqS5avdEqk/h9mOXtgsSyjXw5JLjbs6Ok3Iwow76vxpZZRYZ+eZvtiMYBv\noGT+SV6OAzZdeK/ICQYZIkRHl2ZFitQ5gckWm/rH8QCyMMiaPx5grDeOba2J\n5oe2rbTag6yfcVjsx+EJr5R0lqkprfZJMxcYg2VQ5yb6hUxx6UzNKy7dkBdX\nuLn/+tYzP71QksYh+uSp6dFi0bKvnI6yJ1y4qj5DngJuqJ5whHP2gvfi/NbA\ny1e72cQO7JnzqEuodWgjY9IcqAjr+lFzA2AtG3fgSxKt8WSHghkCnRo/YTRL\nhZKvp+reY1ZPhQ3eKizBYVkYaqHZKRFrjCi6FLE3wTXi4JGC+IBYyUH37lA8\n0Gn2\r\n=pszv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyJOfXSdpbYF5QvgFFz79L2hsoVU0/dwsJdcPzcleCjAiEA8X1NlmnFmeOwZidEn78qYwvD8mBoYS5c4YmrjP8PK0Q="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/observe-element-in-viewport_0.0.15_1576186166106_0.7950122661115895"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-17T08:52:14.280Z","0.0.1":"2018-05-17T08:52:14.361Z","modified":"2022-05-12T01:30:37.916Z","0.0.2":"2018-05-17T08:54:11.099Z","0.0.3":"2018-09-26T00:09:20.025Z","0.0.4":"2018-09-28T14:53:56.152Z","0.0.5":"2018-09-28T17:41:07.022Z","0.0.6":"2018-11-26T23:37:36.362Z","0.0.7":"2019-04-11T16:04:23.437Z","0.0.8":"2019-04-12T18:58:12.817Z","0.0.9":"2019-04-13T11:43:06.553Z","0.0.10":"2019-04-14T19:46:05.523Z","0.0.11":"2019-04-15T18:46:25.447Z","0.0.12":"2019-11-28T14:08:06.025Z","0.0.13":"2019-12-11T22:32:52.284Z","0.0.14":"2019-12-11T23:10:14.918Z","0.0.15-beta.0":"2019-12-12T20:36:05.914Z","0.0.15":"2019-12-12T21:29:26.197Z"},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"description":"Wrapper around IntersectionObserver to hide away its weirdness and increase ease of usability","homepage":"https://github.com/zeusdeux/observe-element-in-viewport#readme","keywords":["IntersectionObserver","viewport","is-in-viewport"],"repository":{"type":"git","url":"git+https://github.com/zeusdeux/observe-element-in-viewport.git"},"author":{"name":"Mudit Ameta","email":"zeusdeux@gmail.com"},"bugs":{"url":"https://github.com/zeusdeux/observe-element-in-viewport/issues"},"license":"ISC","readme":"# observe-element-in-viewport\n\nIn browsers that support the Intersection Observer, this library lets you find out when an element of yours is in viewport.\nThe viewport itself is configurable. It can be the window or any other element in the DOM.\nOnly requirement is that the element who visibility you want to check _must_ be a child of the element you choose as your\nviewport.\n\n## Installation\n\n```js\nnpm install observe-element-in-viewport\n```\n\n## Usage\n\n### Observing a `target` element\n\n```js\nimport { observeElementInViewport } from 'observe-element-in-viewport'\n\n// to use window as viewport, pass this option as null\nconst viewport = document.querySelector('.viewport')\n\n// element whose visibility we want to track\nconst target = document.querySelector('.target')\n\n// handler for when target is in viewport\nconst inHandler = (entry, unobserve, targetEl) => console.log('In viewport')\n\n// handler for when target is NOT in viewport\nconst outHandler = (entry, unobserve, targetEl) => console.log('Not in viewport')\n\n// the returned function, when called, stops tracking the target element in the\n// given viewport\nconst unobserve = observeElementInViewport(target, inHandler, outHandler, {\n  // set viewport\n  viewport,\n\n  // decrease viewport top by 100px\n  // similar to this, modRight, modBottom and modLeft exist\n  modTop: '-100px'\n\n  // threshold tells us when to trigger the handlers.\n  // a threshold of 90 means, trigger the inHandler when atleast 90%\n  // of target is visible. It triggers the outHandler when the amount of\n  // visible portion of the target falls below 90%.\n  // If this array has more than one value, the lowest threshold is what\n  // marks the target as having left the viewport\n  threshold: [90]\n})\n```\n\n### One time query to check if `target` element is in viewport\n\n```js\nimport { isInViewport } from 'observe-element-in-viewport'\n\n// element whose visibility we want to track\nconst target = document.querySelector('.target')\n\n// Using window as viewport, it will check the target element's\n// visibility and log true or false.\n// This function accepts a second parameter which is the same\n// as the first parameter to observeElementInViewport fn i.e.,\n// the options object.\nconsole.log(await isInViewport(target))\n```\n\n## Demo\n\n[Try it here](https://obs.zdx.cat/)\n","readmeFilename":"Readme.md"}