{"_id":"@benshi.ai/impressions-detector","_rev":"7-06b24138a345a999803dcf94b99b1877","name":"@benshi.ai/impressions-detector","dist-tags":{"latest":"0.1.5"},"versions":{"0.0.1":{"name":"@benshi.ai/impressions-detector","version":"0.0.1","description":"This library tracks `viewable impressions`. According to the Interactive Advertising Bureau (IAB) and Media Rating Council (MRC), an screen element is counted as viewable when at least 50% of its area is visible on the screen for at least one second.","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"2"},"gitHead":"746f2d39f8e184d8e6a579d0a471156aa3bf69e2","_id":"@benshi.ai/impressions-detector@0.0.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Iy8372gZqBn4dn3bnX2lbDnd/gh4Z2r07yjPSQiQ2WD0bcxRbse0tgTPiYsJnOFrI27AyVeh41EnNjKTPgF0wg==","shasum":"156125137558da922d645add40c8efcec01a8f92","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.0.1.tgz","fileCount":15,"unpackedSize":66270,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm5UR3kv2VpAV0SIDv1Tl/laimp0FA541ezlWdRI9PGAIgU51fukEVK7L90H3iYqxnk4Yvk92+1zG8WbnGpmMoPiU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaWKrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmol5A//WUpp5b5BsduIO5ha3oTAU4dwl7QILa1F45NzS10nGzl+5Izu\r\n1RKzcnYOMgnO00JLVzW+Qp0LxdaKiwNUBnoMCY+XngIhJnrdnuw6X3KNkb7M\r\nNFpni8edfIIoX4JK+f0S6gKJFJyXevorOIWrVErtiABjubgEYA8SMq+DhUkl\r\noq84gLfU/a3H86Hi0sWvaJV/li5+EKanT6+9QynCFV0Ccr+Kj4fz7/YidFDB\r\nJPKvvFY/LNNFmYCieASoircUlRlDH4iOyFV5Y9PnquUVovhU0cuoI0schQTD\r\nPLW9Xdxe/WhV0jHZ1g8I47EKzuopWA8MCHzfEnouIjytnVnae974qFqC/80/\r\n9AIB8MlJlKozUsBkxLxMVvJTRiK5+Dnx3xe41gLeVhlbZIhyZBQ2S4O/BGUl\r\n03wPPv8ipivrRqkTtk7gHkOuACtaLayCEygtEJ7UoT8cAKuLBTIh1mTOW8q/\r\n79jSFKOr9uZkT73B75Ab/V6P4cjQYVkTuZktcvd3vwsf5/8ofx/ttM3nR5Ch\r\n6UJVljyYJME8CHZ8CeKRH8G79w16ZQglMoVgb1CWfiH2C4IuPi5clD5yRSBQ\r\nY+91xskSrpvRXAm8B4+tkjxBEpp+dP6kxekdUaIW1c84E3dc4vHf7YIB3cTx\r\nzZi8AABKVDErzabKUdg4e3REFTtezlB2xdo=\r\n=sfmv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.0.1_1651073707278_0.559508386565073"},"_hasShrinkwrap":false},"0.0.2":{"name":"@benshi.ai/impressions-detector","version":"0.0.2","description":"This library tracks `viewable impressions`. According to the Interactive Advertising Bureau (IAB) and Media Rating Council (MRC), an screen element is counted as viewable when at least 50% of its area is visible on the screen for at least one second.","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"2"},"gitHead":"22787701493b82d7e14f0d717c9a096f3b02878e","_id":"@benshi.ai/impressions-detector@0.0.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Wwl5kUE0qs7sPbOeCB8SQCi5D6c1bbB4p7osrfTL072lR8AxSdme6zNid+HxIrfQQFiDwvRtGqF55l5moi13YQ==","shasum":"b39915dcb236e6e5dcfe615b102cc1f117dd5bda","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.0.2.tgz","fileCount":14,"unpackedSize":200551,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVyLddtahOWgWmo/NXknnG7AzP2olWn/T83Ya9Fyc+JwIhAJLHFRlG+3ZCKFOSSGiWEVRhTAl3eVVGygMvWh/R7eQH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaXCRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphZw/8C4EgUgWuqG5Eb7shQeQ9XPAJvITTFJUItKD3zVxYZ+0Ncwps\r\nw7dtF/MYyqF29wtjIk+W1pxUhf7K9Ks313C47gzqJCWiSJWMBtAFXgIB+zSu\r\nuFWMJIJBdBs9LUyilOdMuGP6hbXsifiIcn383Hi7UmwZnFidxHbZRwi5KgOI\r\nISAB7dATLS3E5SsEbETkZiPUvL8IXwcuOLz7KDmmI0iK1M1qNbS/ZLFkIX7r\r\nQ3e98aabImvgG9ZCdxE/ZYAvrjjDQZ4+RTOwiITCfk9hQ4Sapk3xXLZtBPGa\r\nS91UyM6a+1ZF9eoq+mIbIO0HOJdxAfChcqs4zxI7MpA4/y9zQb63AvALR0H6\r\n6m/3B+eL9MYj0amv8iLozjeCHySjOCR+IMRYtdQeGbl06lu379aH2CAObC66\r\n2QqOoaProdpN3vSUbRhV+lUinqNjK8boxpPc8SLgM5G97Xtoh6RHDRpraSdS\r\ne1FHVX0OB2MPuHKp9H7Y06cjHaD9/udalu20sEswfIt6IATaTOL10Rp6ZvOr\r\njgAe1caQx0/wqmJgr357FVYwgIyqneYDA7HqkJACIZYMxIwfVTD+vj25S7O+\r\neah+VsZe7tgnR4j+JPTfK0KjyzdJtCgnDQMC7B1D3clKUI6fy+FeLAzLg53d\r\nyEkLoKKKh6IperrH9VW5qVBAT8w+nJ66W4g=\r\n=0krS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.0.2_1651077264963_0.6357807653676328"},"_hasShrinkwrap":false},"0.1.0":{"name":"@benshi.ai/impressions-detector","version":"0.1.0","description":"Framework agnostic library to detect viewable impressions","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"2"},"gitHead":"99824b9d67902f50fedafefe5b7b893b0677a032","_id":"@benshi.ai/impressions-detector@0.1.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-sBMpWlCxJk52KlyI+N9P2TfQqQc3MS5gOLFJ0CogVQvVo451s2DL0JhcL2gw8gtlpcsgQYKNbM1jK4T7cifCxQ==","shasum":"41d932fd58c1eb1b87af8119a933d8c78a62f0f0","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.1.0.tgz","fileCount":14,"unpackedSize":201763,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGx3HtHcZhGSynKT/hQxsHbXLNwJ/SdRUCPE/njkA68IAiBva4adgzWaqcet+oC0FsYs1S6C2ZFIn0PSPRHI/ikWYA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiak++ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtYg/+IWvw/+EPFoiyi/Hd6lDhqnFWgClY8gXMsB7ZXwIZRh0mMnlr\r\nkJ9NTyMs6aH7oLz77tBeQ+41KJaPgB8QjODQU6t4HdfwpfOX+BrchLpzwXs/\r\nFqWOuEK5uaH743SJcWdwpgA5tcNISLmZIwAa3WIRf3ateV1sMuIuF81dYuFK\r\nmIotGucKrgJ4tLIG8vXz+eui/gVuEnLyyoneusukDsJuZJp4t1RZ2H5uJ8yG\r\na3zgv6vj/BNQ2ES6F8GK0CWMiZ+cKX0OwRe47ggnYre4jjMLGP0QssYgWnhl\r\nVuzTE4bSntvDm0SC9o6/lRAH9sz57v1iJ9jf/5Zeh4jZBuV0rbXbdQWYUJaX\r\n/s3QRKJ3B1YccFVN2W7RUGup3cKZZdWTClpVUbE+daWWCptGADHL12Jw5hhj\r\n8rRpG5MSna+5JJbvW5ffAyt+aaB0ZwwPwBWb3R0Ie6+A6Ti1lf4IZGF10FZc\r\nvosZ/UQ6Y/Pl7cyUlaMeHcQngyVj/AF/32867QJ+6HTRVD4rfweE3R2QRRQ/\r\nWfhG+N9fdpgBMe5bvT6URt3sRxoEkASAsHJVz2zu0fINR8y3HTF9T6GRHhpO\r\nOmiQiCS4DLslNwjA5PZOBFHWGgeuujdu/3OCy4IWaZT4kyqRPlmQCRmIKdmu\r\nb68I3ayDQ7vIEl0zDY9LTU/94AYNWT6rzOA=\r\n=dB+g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.1.0_1651134398044_0.881837248824674"},"_hasShrinkwrap":false},"0.1.1":{"name":"@benshi.ai/impressions-detector","version":"0.1.1","description":"Framework agnostic library to detect viewable impressions","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi","intersection","inviewport"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"2"},"gitHead":"f251fdfc2a433f40597fce2069cc0db139c48f77","_id":"@benshi.ai/impressions-detector@0.1.1","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-gW0YQMbLbpcdg2ovCjbG3xTc9MngzN5qX8F8Z9JDWZnSmwptykItWWFsRE9vwBoUZJD9RqA2fnjtRSnoxdnxNA==","shasum":"123f6dfaaecf3bb93eb34f7cd625589ff8fd1f2c","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.1.1.tgz","fileCount":14,"unpackedSize":201797,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0r18mDjzBaVre+HDajsloU3eqU9tB0YmwhcfnccvaqAiEAnQajHVIVQ+/1pUc6XtIq/uHeHLpPhJpKrv8Rg4XP8SE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJial44ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiTw/+Jgw8KsThrpzV1sazq73IwGZJuWkaZ03gQnjMwnv7feFHfMyK\r\nYD65QPbY7gJLDifmJr1fi9WtK3357UAhDSbt2eDCV08yx+iWpKlefCZ6DgPg\r\n0cANu+oNaeNeHt9S3AuQcow7rjwLJSHBVQo/Af7gEwrpE6LUvx2f9Xjf6cFN\r\ng0ycWBIUlvsT5yZZJAYfIaHKU903a7P6Ll+aAVAzN9IdN+pvYzYFW/6awYs6\r\nL5UFcayra+3TkGu2rFbuIwJQHd+GEB3mP3jJ67UIoaJYmNcYotjBLzLz8PWt\r\nBzGeD2oKV0MqQny4dERHrSdqTD3Z/OEkEuiuEasYGcbT0kS8f0GbJPpQdOau\r\nMYqKx4SCDWP4oOgf0vWfmqlmqZat/8EnLDxhjCgrbGBrSMJjuVo/4CXTtucM\r\nc5U/t1yxZoiBN4ETD36q802IhqjQbDcJ0Acr8735O0IbcFPlW5/0AYpB4VSA\r\nZOgz3SiDZfmNfD3WxHn/F9EATJ1hy+lvFL03T4RCOLd2sPdpUu3AvNPQIzkg\r\nXZ81L/4kssx/Ou6Gn+yi/wy79eWe1CwAyylx+9ZmLYLCzIFfOf3Lf6MQWpE+\r\n+SSYVMuPEycLzP0kcF6pGXJbPkEWcwkVg7RdAJ20zUiKGIkRWfb/4TdiQOQ0\r\nTFklsZusvE/r3rmimTPfH3E8yFh8VUQ7ymo=\r\n=3qpf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.1.1_1651138104290_0.929293258849996"},"_hasShrinkwrap":false},"0.1.2":{"name":"@benshi.ai/impressions-detector","version":"0.1.2","description":"Framework agnostic library to detect viewable impressions","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi","intersection","inviewport"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"2"},"gitHead":"522a2751c7782468493297d3d402bca17a71bb1d","_id":"@benshi.ai/impressions-detector@0.1.2","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-7oESU5lBQ2wbwi2KX159OgLHkhJ3qlmbSmpbnp66k8USY6ozoQmXkQY9NtXpa/lfgq9I0wkvcVoN0YYPinUQiA==","shasum":"40d7c95464d22b9edc1e492ac90f64c0cd6a615a","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.1.2.tgz","fileCount":14,"unpackedSize":202044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjvUXFITyEYpyVDvyMpSv31WE23MIwjY9OfgFc27zi9QIgMV98lr5zwr1oylW4eb+xA5tZpjz9cHkHoDkr22XBO+c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaqL2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjNA//R8Q87/2g0HpD/1tGdGCGS6mdwmiyPls2sgjfduvm6cfcPpSV\r\nS8hRlExfx2BF/bpJgzVMmFn0yUpHI4oWDaLsbTBrN+rPm+He3c9fnZQ70tIl\r\nN/Qsq9J/KdnpAfB/yvX2UIALQAeBviWXjDioJO64UVyR7z5y15Fvy43EXdwA\r\nwppFikujEovT43ta53XzM+TSnlQbLXt4ux9WXBz+YmDpBWQvygT4qlVwkaVY\r\nrOZQDWlpUIH2x0K3CP1YFYElDvM66XVDplCe6I1llbXdDL+yPj0cObgYI2ai\r\nddDgw3HriJl98JPSQaV///RFThH0EdL939+wCpaHx5I+8mWQeIinspSshANY\r\n9tr9rCB7GfjSfJnxnAuwyIpVOK/JhaxqYHktzO3uz3ssJjHGVp4v/IVO2nG3\r\nUsujHyheabsvctl3qnEafZ9dRW8o2mMZBOoHpXIEjRG62626M0uc7LrQy185\r\n7NbAyIuRkpgPjc3xLDKedx4lAEHEshsR0Aqz2KyNKQTVMJPDGMFcWHux9nyA\r\nJWRj/AGN4+MZA5fwnlK91eL8BFHIjirc/nkf79neN/lcJVDwhRetipm0fjOy\r\nrQXGylJqkpp+YnFNJPCtnQBizurdzH9VvXIzdD8ZufoC9gghUAPRZIo3/Yhx\r\nXU9RpoRHSBmIHcvqTlg1JTCi3pryqPlFkc8=\r\n=NwnO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.1.2_1651155702323_0.11696609120830925"},"_hasShrinkwrap":false},"0.1.3":{"name":"@benshi.ai/impressions-detector","version":"0.1.3","description":"Framework agnostic library to detect viewable impressions","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi","intersection","inviewport"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"2"},"gitHead":"2327de3380e62376c2ab4cb9122e188af26a9120","_id":"@benshi.ai/impressions-detector@0.1.3","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-gz/LXMIWyxjqS9A+wC8SPyECl18UbS0X+zjN04xWrdT8k7zQM1Cau1q+55g+Niyq97RPdva4Ev30i2W2CI7pMQ==","shasum":"3e27c89f5aaa886bc6411f336a243c523442d6a4","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.1.3.tgz","fileCount":15,"unpackedSize":69302,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsFhgwDbvCgoNlWaEt48qLFjLfOd+E9Z+2n0qPhntLcwIhAPjtSEpM0Np7bQeRTJv6OCoBCgBMy+mbtstZapFzZcBH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidOqAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKag/+N+memsdjMm6eCkf0m3hM18j/p34Jqmy0uYvlGRgwCgDZsjGa\r\nw1rcY3xV/NAzWGeWWE76mRX8yB9LZeClonynJrUW6lTHWb268xeHnPtmfPcD\r\n+NF9WwtOpFDM+lrRRDwSg4eR2L7x+T7Unuwr++rFJHIy6W74WQDKDXsAQLQ0\r\n1ep+jDok44rxwFOKFu1vLW3f5+DLcE/gtU2MB6i+OehpqYupO5jBfCOB19+d\r\nkXAh1LCXlVrtyEPBIZQHhRhbx85DHEKHRNRsG5Tncsqm6emnqT9Ir56sqdb0\r\nkU2fTm+rScdzVtndpSv7bSxZtLWCGDI4C/0vM5WFVtCe1Z2rChTHU5dTkTvs\r\nOWVoGBIh8niI/wBp2ZNlLeN3+djnvD7iMaFjlBze+pM0WVSArG/fJypWzYgb\r\nhyPRJSrm2SfZsBD2mWNqSeDg9NhHdk+flWqCFl+1P5NQPfcXEWt9YWhdUdTV\r\nNQ9CJH4cCCDc6baiynxqyU3RgVXkt6v+k0c3BDBQQqgk5G4xrCs+3yENbtjQ\r\n58K7G+X70ABXD1hOcKoNa6KBf58DK8Q+RZZjNI4VUkmnDFxZsvgiRaCzBDHy\r\nFqDGEkfN1HhNrmG0eCfTyw+FivWPMS4+6BP4MpU1dfv8Oxiz0qcNDPT9poIy\r\nW2IF6CVyQc0Qzp17jeUuVM2c7kw2zUGksSk=\r\n=4fk/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.1.3_1651829376262_0.566774455231821"},"_hasShrinkwrap":false},"0.1.4":{"name":"@benshi.ai/impressions-detector","version":"0.1.4","description":"Framework agnostic library to detect viewable impressions","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi","intersection","inviewport"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"peerDependencies":{"core-js":"2"},"gitHead":"20a21ff1abef9edb1294187668dfa353d31c2d0f","_id":"@benshi.ai/impressions-detector@0.1.4","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-nMnHXnEd1iCfj05yB20wHmxnDOuHY5gYH5MBhaqmufnNXxe3E0FI6OOev3dskNvqSsv2zsTpxhcqn5+wzDXmSQ==","shasum":"b3c95c56b928005a0b1462bec965cd7401a489bf","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.1.4.tgz","fileCount":15,"unpackedSize":69306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbtzodERRMTzcF/did3Sq7wQ9WEY6x98a6u9ccEBf8GQIgJABfVuC5vzjG9yWavhcU8ghMP3bdUXLmQZeUIkqHMN0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieOLEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocyQ/9G31p9S93IJXbuW5HrIQQ1Y7UTnKn0s712W3KqdrSV2c2N9JI\r\ny8PFUzZtLPqKG1lxZwIsfWVlzVZRGRGdTKvuhaeFoBKcgPhFW5Cy/AaFbHhX\r\n0UOw1wQ8dPlsh5Du/H8w2+0O08pGqHDQfQOkYrCjl5DpydMD62UNy+lstl1C\r\nJmpLf7RDVxHSiLyIVMM5ngnzHgaCELUgm5SXps0rhy+8u7552PuKbpXWCn7B\r\ni30jzsqbNgeGM+Ju1Hv+G8S8IiSXWmVMMP2u744W8CrZhLNhmaManL1KGsT7\r\nM/d+EP6i3Z2g6neQ0nAVIspP+qJWrE/xAEnyl0ILwOnXkzkAyezi9Alr6nkW\r\npZQ6BIDizgmAKUGT7EfEbXO62VLE1VAdff0jVrd4FR9K7gLg0yxlWICEM/Gl\r\nZi5UG3WpMb/1aR4g2UnPX4P3oLTfwNgexhzAJ8fjI14k57aOZK1LF1K0g/Lv\r\nM+chKex3zGxOJ/BRHU/9ps/38pKTa0blK+4K0DVVkiXFK7BeuFjikmtz7CtF\r\ndUbsqbI7GYJK0DXzzBEvgFdk/1FkEvQSu1znI5n1lGVOofTFEeYr/OdxQsbz\r\nWQa90FG+k1RLqzfMDj507A//PQuUPA1nZD0afyRmV0LPPNNXp9Gc+54IVGIT\r\nWzJb25Y2E/u+e7HC+mZN1thoxUoU2/QgfKs=\r\n=rg4c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.1.4_1652089539983_0.434631033197848"},"_hasShrinkwrap":false},"0.1.5":{"name":"@benshi.ai/impressions-detector","version":"0.1.5","description":"Framework agnostic library to detect viewable impressions","main":"lib/lib.js","types":"lib/typings.d.ts","keywords":["impressions","advertising","interaction","benshi","intersection","inviewport"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"append-declaration":"node scripts/export-module.js","lint":"eslint lib test","dev":"NODE_ENV=dev webpack","html":"typedoc --out html --entryPoints src/index.ts --tsconfig tsconfig.typedoc.json --excludePrivate --excludeInternal","build:types":"tsc --emitDeclarationOnly --declaration --out lib/typings.d.ts  && npm run append-declaration","build":"webpack && npm run build:types","publish-lib":"npm run build && npm publish","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","test":"jest --verbose --detectOpenHandles --forceExit","test-coverage":"jest --verbose --collectCoverage --detectOpenHandles --forceExit"},"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"homepage":"https://github.com/benshi-ai/impressions-detector#readme","devDependencies":{"@babel/core":"^7.14.8","@babel/preset-env":"^7.14.8","@babel/preset-typescript":"^7.14.5","@types/jest":"^26.0.24","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","babel-loader":"^8.2.2","clean-webpack-plugin":"^4.0.0-alpha.0","eslint":"^7.31.0","eslint-plugin-jest":"^24.4.0","jest":"^27.0.6","prettier":"^2.3.2","ts-jest":"^27.0.4","ts-loader":"^9.2.4","ts-node":"^10.1.0","typedoc":"^0.22.11","typedoc-plugin-missing-exports":"^0.22.6","typedoc-twilio-theme":"^1.0.1","typescript":"^4.5.5","webpack":"^5.46.0","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.7.2"},"dependencies":{"core-js":"^3.22.4"},"gitHead":"a76a7c8591e44b2e22178702445a5d586895ffe1","_id":"@benshi.ai/impressions-detector@0.1.5","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-EnA6oQUt1Jnx73IoNP2K7hVSIF+9YfMSos1arH9zNMJqvUpfKzTPhZID/TC4mRYkNOA/rKEs68C+6dPLE4dduQ==","shasum":"d47766b0e1c4ea4cd92fbec322b93a68d9baf235","tarball":"https://registry.npmjs.org/@benshi.ai/impressions-detector/-/impressions-detector-0.1.5.tgz","fileCount":15,"unpackedSize":87031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAiWkBRVzbCzpGjkhoDWSsRzStiovGgIs2h1qcRmyGY2AiEAgiUBxsqRdYhUZLTjWmeVm1T8DBaXbfGkjpHVMkh5YmQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiePb/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjMg//QsAHa4/ox+MKVZxdUFRIRrNRCmoEVrxjepz56ZwOF8ve4CsZ\r\n/N6MhUHXs57wo5nMyaChwlJZWxyVYtQ6MlJNtKnhLpj+PuHmBA8YQ9Gpck2f\r\nu3gUSK2jWywru4TLAJ/utHCLNUzJNRZfcvUIukXaVMonTAU10VLVRJVDngi2\r\ngpnuD9jR0w84vqVVn2EpHTt+WlJunnPZtOuJGfABb1K+7pwLfMIMjXMb047v\r\nQ/OMsw1FGWFVzI5HwEcjs94CrQKwwXRl5wCyQHWXeH0E/WJf7fhv8ltHoflr\r\nDmSMMcxzZ3kGNbdPVRlKjnkaXBU7SW0M3UUV6baYwKNLqhPCganM6YjMuQLv\r\ndebE2SRYTBxTa3u3T0m9VsKmxax21Eb5SzIeXGTbboYHrBiCXvmZQLSQEhBh\r\nNaXyHO0/MOC0AkLthl2oM6WdIMO/PZoRUdX1Co7fmcRxRCflOIrsC8snMMjw\r\nGuoWucjP4+3KenvXDpCpFXseHl9pzhpLcLbhnwgvF2Z51g6tNtxBKJN0+tip\r\nCQ6Zligj3p4MvCHEiFrEY53jSZyuV+IO7cOp6xnwJycRf2xcHAHYPuzR/bRv\r\nR6a+oKcXTLazYoWqd4E/2qWNAljHGXcduTlULQcV8nXw+jakPxNuR5zZTBm8\r\ni1hG9vJzWmITKZ/6T+1TmKDx22/NrW2OxsM=\r\n=GT+E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aecostas","email":"aecostas@gmail.com"},"directories":{},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/impressions-detector_0.1.5_1652094719545_0.3127531480615169"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-27T15:35:07.209Z","0.0.1":"2022-04-27T15:35:07.475Z","modified":"2022-05-09T11:11:59.798Z","0.0.2":"2022-04-27T16:34:25.177Z","0.1.0":"2022-04-28T08:26:38.157Z","0.1.1":"2022-04-28T09:28:24.438Z","0.1.2":"2022-04-28T14:21:42.484Z","0.1.3":"2022-05-06T09:29:36.401Z","0.1.4":"2022-05-09T09:45:40.222Z","0.1.5":"2022-05-09T11:11:59.691Z"},"maintainers":[{"name":"moizh","email":"moiz.ca5114@gmail.com"},{"name":"aecostas","email":"aecostas@gmail.com"},{"name":"sergiobenshi","email":"sergio@benshi.ai"},{"name":"sergiocarracedo","email":"hi@sergiocarracedo.es"},{"name":"dxe.tang","email":"dxe.tang@gmail.com"}],"description":"Framework agnostic library to detect viewable impressions","homepage":"https://github.com/benshi-ai/impressions-detector#readme","keywords":["impressions","advertising","interaction","benshi","intersection","inviewport"],"repository":{"type":"git","url":"git+https://github.com/benshi-ai/impressions-detector.git"},"bugs":{"url":"https://github.com/benshi-ai/impressions-detector/issues"},"license":"ISC","readme":"# ImpressionsDetector\nThis library tracks `viewable impressions`. According to the Interactive Advertising Bureau (IAB) and Media Rating Council (MRC), an screen element is counted as viewable when at least 50% of its area is visible on the screen for at least one second.\n\nThe implementation is based in latest web APIs, like `MutationObserver` and `IntersectionObserver`. It trigger an event for those elements that are detected as `viewable impression`, with next constraints:\n\n* during a session (between `start` and `restart`/`close`), elements are only reported once. If the user scrolls the view and then come back to the original position, the elements won't be triggered again.\n* screen time is not cumulative (if an element appears several times in the screen, but none of them the time is higher than the minimum required to be considered `viewable`, it won't trigger an event even if the sum of times is higher)\n\n## Usage\nThe library triggers an event whenever an item is detected as `viewable impression`. \n\nGiven an HTML structure like this:\n```html\n\n    <div class=\"container\">\n        <div \n            class=\"item-element\"\n            data-log-id='unique-element-id'\n            data-key1=\"value11\"\n            data-key2=\"value21\">\n        </div>\n\n        <div \n            class=\"item-element\" \n            data-log-id='unique-element-id'\n            data-key1=\"value12\"\n            data-key2=\"value22\">\n        </div>\n    </div>\n```\n\n\n```js\nimport ImpressionsDetector, { ImpressionEventType } from \"@benshi.ai/impressions-detector\";\n\nconst impressionsDetector = new ImpressionsDetector()\n\nconst yourData = {\n    anyKey: \"anyValue\"\n}\n\nimpressionsDetector.start(\"container\", \"item-element\", yourData)\n\nimpressionsDetector.on(ImpressionEventType.Impression, (dataset, yourData) => { /* ... */}\n```\n\nNote the callbacks parameters `dataset` and `appData`:\n* `dataset` contains all the elements within the HTML element dataset. For example, for the first `div` it will contain:\n    ```js \n    {\n        \"id\": \"unique-element-id\"\n        \"key1\": \"value11\"\n        \"key2\": \"value21\"\n    }\n    ```\n* `yourData` is an arbitrary object. Depending on the application use case it may be interesting to share information between the code that initializes the `impressionDetector` and the code that receives the events\n\n> **note that the key `log-id` is mandatory**\n\n## Configuration\nSome parameters may be adapted to the application needs. The configuration options accepted by `ImpressionsDetector` are:\n\n```js\n\nconst options = {\n        triggerInterval: 2000,\n        keepVisibleTimeout: 1000,\n        intersectionThreshold: 0.9\n    }\n}\n\nconst impressionsDetector = new ImpressionsDetector(options)\n```\n\nwhere:\n\n* `triggerInterval` [__default: 2000_] The library triggers events each `triggerInterval` milliseconds.\n* `keepVisibleTimeout` [__default: 1000_] Time that an item must remain visible to trigger an event. Time \n* `intersectionThreshold` [__default:0.9_] Porcentage of visible area to be considered an impression.\n\n## API\n\n* `start(containerClassname, itemClassname, applicationData)`. The container defined by `containerClassname` must exist at the time of calling this function. `itemClassname` refers to any child element, regardless it exists or not at the moment of calling this function.\n* `restart(applicationData)`. The session is restarted, that is, items that have been already triggered will be triggered again if they remain the needed time in the screen. You can pass the same `applicationData` or other.\n* `close`. Close the session. No events will be triggered from this moment.\n\n","readmeFilename":"README.md"}