{"_id":"next-yandex-metrica","_rev":"9-a7e0f6fe79813e557f7c5276024425c5","name":"next-yandex-metrica","dist-tags":{"latest":"1.2.3"},"versions":{"0.1.0":{"name":"next-yandex-metrica","version":"0.1.0","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@0.1.0","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"dist":{"shasum":"e55a2816f0500f8142fbb2310345164338d97012","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-0.1.0.tgz","fileCount":39,"integrity":"sha512-1RwruoaW+7UJl1HyUzabohFwv1doNrFpV0v2mmDwnWLZie++MwiOoIxRz7M14FbH/U7oCFQ7+1uUwIaFHkJjLQ==","signatures":[{"sig":"MEYCIQCVLKVkeg8wvchohwvTKRpX3QfUyJTdSmCNktP4MTIw3AIhAMDF/74A0Nz9X3pkP561ZUjpDjYVEQAyd6mKONuQNYsu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUO7gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmotnw//TzcVzb5RoCC+QhmxEp4o12voW+h7lq5S4N/TIUkfxfKBsurd\r\nEUfOXkyZBrirlNzdCfKX7cAoA3NJoaYWEWrHBA9aq3KVP8Z+YUrt4wlzmC3j\r\nvLMDTm+pqUSJD6vrWy9DT4aYZVuu/hRUrQa4CssCIW53Eb1FxXRqUkdu9VQF\r\nZmWUqr+tXGYTIm9HavvgFeeQiukEcvaoQA/plMY31qYxw+04CoE4qJLCdyue\r\nBf8xE2BXgDobseJ8TE6ShgOVukTJFEmvRri4ZLT4VRyA2SEOU+qtljopbNOR\r\n31btItvsHHEM2JDEsr2wf1QNtQY2NEEW/CGpxO2W1SfxwBHuAarpHawM6O7F\r\nWcLz2LwHxpyqtm/4gc+ZS7CbkOGyje0h0vJYg9Ez/XI9+PrAD7IiRskh+WMf\r\nKPRFzr5CMmzR5ZnU/hY6foSO2aifdVLo6TU/zCzRiNDHeZInrkkXETpleH2L\r\netmsy2SH0XzlIP9vZdKENdR4mhZkivM2a9r3Yb6feUm7FM+tLGBnF+6kGA7R\r\nNzw4RAjxGEUtZQcZbIg0yQEDGYSw9RZ1LKCaOrv09hbaE0RAmReFkm24gasc\r\nk0FJulh8xMCIb7iTYKFo5tnUcOe7UvGYt/0jcP63UIvfXOnzbr3Qk0x9QhpN\r\n8usLIHi0a6SbLtJTVzSyI6j23NocTmu5HG8=\r\n=ajfT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix","test":"jest","build":"del-cli dist && tsc","lint:ts":"tsc --noEmit --incremental","prepublishOnly":"yarn build"},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"repository":{"url":"https://github.com/reapziq/next-yandex-metrica","type":"git"},"description":"Yandex Metrica integration for Next.js","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2023 Vladislav Doronin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","next":"^13.3.2","react":"^18.2.0","eslint":"^8.39.0","del-cli":"^5.0.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.8.8","react-dom":"^18.2.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/react":"^18.2.0","eslint-plugin-react":"^7.32.2","@testing-library/react":"^14.0.0","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^5.59.1","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_0.1.0_1683025632392_0.05673024708735874","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"next-yandex-metrica","version":"1.0.0","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.0.0","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"dist":{"shasum":"aa6b16f063cffa2c0dfbaf1d7310cc517919b4af","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.0.0.tgz","fileCount":39,"integrity":"sha512-8HcJs4XMFnN0LSs8o8iewzZnByOL91QzoKNIvHGMNevAVi9bpvnzv92fmFccbwghG6hGIhmIPERVbBBfzo9M5w==","signatures":[{"sig":"MEQCIEK77GhjkyUFyg8ETdcD31fB2dmIiGzLaj932BdkXd6xAiBtQ0t9exD2o0cHsQehNqRKhlJSaX/+1uQ8CDDGlOtwQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21911},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix","test":"jest","build":"del-cli dist && tsc","lint:ts":"tsc --noEmit --incremental","test:ci":"jest --ci --coverage","prepublishOnly":"yarn build"},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"repository":{"url":"https://github.com/reapziq/next-yandex-metrica","type":"git"},"description":"Yandex Metrica integration for Next.js","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2023 Vladislav Doronin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","next":"^13.3.2","react":"^18.2.0","eslint":"^8.39.0","del-cli":"^5.0.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.8.8","react-dom":"^18.2.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/react":"^18.2.0","eslint-plugin-react":"^7.32.2","@testing-library/react":"^14.0.0","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^5.59.1","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.0.0_1683312662387_0.6648666801219216","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"next-yandex-metrica","version":"1.1.0","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.1.0","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"homepage":"https://github.com/reapziq/next-yandex-metrica#readme","bugs":{"url":"https://github.com/reapziq/next-yandex-metrica/issues"},"dist":{"shasum":"a8733ee403c19f52ca293eb42a3f18bf7cd36920","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.1.0.tgz","fileCount":33,"integrity":"sha512-PxMFuP204Jc+7RZysDFU6frHut1Y7WdNT9drsg/wtPvRBFpHb7BthCKZJs3wyiI68iNA2FJhQfklloVF9VJs0g==","signatures":[{"sig":"MEYCIQCXjLgdkydKMPdiQ1bpQN4Pi/+ZASUTPKxD9Uwtkufb7AIhALmTkokUWqqiWM7hJabSyJPBpHs5IkeA1AFvSEwDj6ag","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22618},"main":"dist/index.js","_from":"file:next-yandex-metrica-1.1.0.tgz","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","preinstall":"npx only-allow pnpm","format:check":"prettier --check ."},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"_resolved":"/tmp/0fae8d6fa315c1eb05e44390e680596a/next-yandex-metrica-1.1.0.tgz","_integrity":"sha512-PxMFuP204Jc+7RZysDFU6frHut1Y7WdNT9drsg/wtPvRBFpHb7BthCKZJs3wyiI68iNA2FJhQfklloVF9VJs0g==","repository":{"url":"git+https://github.com/reapziq/next-yandex-metrica.git","type":"git"},"_npmVersion":"10.2.3","description":"Yandex Metrica integration for Next.js","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.1.0_1702258061975_0.6330083835161011","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"next-yandex-metrica","version":"1.1.1","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.1.1","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"homepage":"https://github.com/reapziq/next-yandex-metrica#readme","bugs":{"url":"https://github.com/reapziq/next-yandex-metrica/issues"},"dist":{"shasum":"0b6922544fbe831e36d322651aeef52006abeef7","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.1.1.tgz","fileCount":33,"integrity":"sha512-ih3S24GU/zUJaa75FvgflaUJrV/ST1BuhIyFT7AYT8oJg+Fs8bXjaWJAUuf+YFENRP0gJXVPT5i2gHX/0J7RWw==","signatures":[{"sig":"MEUCIQC7SfW/rrumTZuLjLqxGwvQefPZBExXZsWT9uc8ldPLZwIgaLcnOMdB26A9gjuiAVgPrLk80fnuSa3qOdYxtnvi6a4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22577},"main":"dist/index.js","_from":"file:next-yandex-metrica-1.1.1.tgz","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"_resolved":"/tmp/5246ad0614e520bd428ec08df352fdd6/next-yandex-metrica-1.1.1.tgz","_integrity":"sha512-ih3S24GU/zUJaa75FvgflaUJrV/ST1BuhIyFT7AYT8oJg+Fs8bXjaWJAUuf+YFENRP0gJXVPT5i2gHX/0J7RWw==","repository":{"url":"git+https://github.com/reapziq/next-yandex-metrica.git","type":"git"},"_npmVersion":"10.2.3","description":"Yandex Metrica integration for Next.js","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.1.1_1702258763776_0.23979621943471807","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"next-yandex-metrica","version":"1.1.2","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.1.2","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"homepage":"https://github.com/reapziq/next-yandex-metrica#readme","bugs":{"url":"https://github.com/reapziq/next-yandex-metrica/issues"},"dist":{"shasum":"cf07c7b0c6997ccb5a1027e69a8490dbdfbf9db5","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.1.2.tgz","fileCount":33,"integrity":"sha512-gHlf3qTFY1PMyk/hqLwKKGkIs5XUa+ALQQb2xcTLR9PKxoD35O5eCzR34LRwgCtdMyHunQ1VSyn33E1l9AOWDA==","signatures":[{"sig":"MEUCIQD/afu8eMBoEZYV82pDhxVTWfP4x5Ur3MD3/WKoBGR7yAIgEIjCfdzShfAe7Fe6AjeuDLCWtN17WgjS1hNFU5x8EHI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23105},"main":"dist/index.js","_from":"file:next-yandex-metrica-1.1.2.tgz","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"_resolved":"/tmp/3643ed89b4d3bc54a98b85586b394a35/next-yandex-metrica-1.1.2.tgz","_integrity":"sha512-gHlf3qTFY1PMyk/hqLwKKGkIs5XUa+ALQQb2xcTLR9PKxoD35O5eCzR34LRwgCtdMyHunQ1VSyn33E1l9AOWDA==","repository":{"url":"git+https://github.com/reapziq/next-yandex-metrica.git","type":"git"},"_npmVersion":"10.2.4","description":"Yandex Metrica integration for Next.js","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.1.2_1709486960970_0.8245595405187791","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"next-yandex-metrica","version":"1.2.0","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.2.0","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"homepage":"https://github.com/v-doronin/next-yandex-metrica#readme","bugs":{"url":"https://github.com/v-doronin/next-yandex-metrica/issues"},"dist":{"shasum":"8510933ebde6304e03b9a99e5f160f436a8ead92","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.2.0.tgz","fileCount":36,"integrity":"sha512-fybEb0HF6YFc+JQvV/Qg0lVzmHhRDIkZaqd0j95QJFKkCbhufwNgtxM6sM+Hz2ugQus/F9gIb93p/81wMcAQVQ==","signatures":[{"sig":"MEUCIE3FtQEMApdYPs523Ou+rWfkDGWbdRyqVQosSFN9sFbMAiEA1lnQgcSvVU3Ao3Bg46smK/RKeebvGJrSdvVSfiN/3AA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24842},"main":"dist/index.js","_from":"file:next-yandex-metrica-1.2.0.tgz","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"_resolved":"/tmp/b3cba18636bf47514d283d0ec6f5ccc4/next-yandex-metrica-1.2.0.tgz","_integrity":"sha512-fybEb0HF6YFc+JQvV/Qg0lVzmHhRDIkZaqd0j95QJFKkCbhufwNgtxM6sM+Hz2ugQus/F9gIb93p/81wMcAQVQ==","repository":{"url":"git+https://github.com/v-doronin/next-yandex-metrica.git","type":"git"},"_npmVersion":"10.8.2","description":"Yandex Metrica integration for Next.js","directories":{},"_nodeVersion":"20.19.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.2.0_1749412317497_0.4353250109931077","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"next-yandex-metrica","version":"1.2.1","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.2.1","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"homepage":"https://github.com/v-doronin/next-yandex-metrica#readme","bugs":{"url":"https://github.com/v-doronin/next-yandex-metrica/issues"},"dist":{"shasum":"9aeeebb5dabd2ba884a850d22e14172df134d7e0","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.2.1.tgz","fileCount":36,"integrity":"sha512-dhfMYQ72G3xkvwDhh7wIVt7kJiP/5ESwxKYwGQpky3gcbD2j4w6jNETTOD3gRujrWmRsV/gBtyEAxV0hNPhR5A==","signatures":[{"sig":"MEUCIGcnChpG+N9mFOMzfhCr9l2zbavQXrYldo4OZA5VT3yMAiEAoa1o2F3JjMn9bZ9MJAfSOThw4HsFYA1BO+cNWfSuu50=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24943},"main":"dist/index.js","_from":"file:next-yandex-metrica-1.2.1.tgz","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"reapz","actor":{"name":"reapz","type":"user","email":"reapziq@gmail.com"},"email":"reapziq@gmail.com"},"_resolved":"/tmp/d06a7fa1c3ba69530fb04ff7e141b7cf/next-yandex-metrica-1.2.1.tgz","_integrity":"sha512-dhfMYQ72G3xkvwDhh7wIVt7kJiP/5ESwxKYwGQpky3gcbD2j4w6jNETTOD3gRujrWmRsV/gBtyEAxV0hNPhR5A==","repository":{"url":"git+https://github.com/v-doronin/next-yandex-metrica.git","type":"git"},"_npmVersion":"10.8.2","description":"Yandex Metrica integration for Next.js","directories":{},"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.2.1_1751704907691_0.7067549931399919","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"next-yandex-metrica","version":"1.2.2","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","_id":"next-yandex-metrica@1.2.2","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"homepage":"https://github.com/v-doronin/next-yandex-metrica#readme","bugs":{"url":"https://github.com/v-doronin/next-yandex-metrica/issues"},"dist":{"shasum":"681bc6191f422f66e9c2d8ba8ea234651112d643","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.2.2.tgz","fileCount":36,"integrity":"sha512-yGWOsW+Je0lSKIPnSqAz8FdWe6TcdwOz/LijLZRumRxf/BsWuac+CmkPplk0gkLGGrXXsCTbFmVRxSOY9ZpooQ==","signatures":[{"sig":"MEYCIQDSoacEzTJ6ra8scA8rSK/ivByjix/QqXgJpnxcSKedIAIhAIXBeVKpLvsRPc3HuMt8113Y3fFHZnNITayxWe38MK4P","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24783},"main":"dist/index.js","_from":"file:next-yandex-metrica-1.2.2.tgz","types":"dist/index.d.ts","scripts":{"lint":"eslint src --fix --max-warnings 0","test":"jest","build":"del-cli dist && tsc","format":"prettier --write --log-level silent .","lint:ts":"tsc --noEmit","test:ci":"jest --ci --coverage","format:check":"prettier --check ."},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"_resolved":"/tmp/7b20f52cf08f8107b88e488c8955316f/next-yandex-metrica-1.2.2.tgz","_integrity":"sha512-yGWOsW+Je0lSKIPnSqAz8FdWe6TcdwOz/LijLZRumRxf/BsWuac+CmkPplk0gkLGGrXXsCTbFmVRxSOY9ZpooQ==","repository":{"url":"git+https://github.com/v-doronin/next-yandex-metrica.git","type":"git"},"_npmVersion":"10.8.2","description":"Yandex Metrica integration for Next.js","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","next":"^14.0.4","react":"^18.2.0","eslint":"^8.55.0","del-cli":"^5.1.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","prettier":"^3.1.1","react-dom":"^18.2.0","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.2","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^6.1.5","@typescript-eslint/parser":"^6.13.2","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.13.2","eslint-plugin-simple-import-sort":"^10.0.0"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/next-yandex-metrica_1.2.2_1753522529039_0.2775718884970153","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"next-yandex-metrica","version":"1.2.3","description":"Yandex Metrica integration for Next.js","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/v-doronin/next-yandex-metrica.git"},"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"devDependencies":{"@testing-library/jest-dom":"^6.1.5","@testing-library/react":"^14.1.2","@types/jest":"^29.5.11","@types/node":"^20.10.4","@types/react":"^18.2.43","@typescript-eslint/eslint-plugin":"^6.13.2","@typescript-eslint/parser":"^6.13.2","del-cli":"^5.1.0","eslint":"^8.55.0","eslint-config-prettier":"^9.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-simple-import-sort":"^10.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","next":"^14.0.4","prettier":"^3.1.1","react":"^18.2.0","react-dom":"^18.2.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","typescript":"^5.3.3"},"peerDependencies":{"next":">=11.0.0","react":">=17.0.0"},"scripts":{"build":"del-cli dist && tsc","lint":"eslint src --fix --max-warnings 0","lint:ts":"tsc --noEmit","test":"jest","test:ci":"jest --ci --coverage","format":"prettier --write --log-level silent .","format:check":"prettier --check ."},"_id":"next-yandex-metrica@1.2.3","bugs":{"url":"https://github.com/v-doronin/next-yandex-metrica/issues"},"homepage":"https://github.com/v-doronin/next-yandex-metrica#readme","_integrity":"sha512-/hsWYh4MrXDytYU78e4zYgFhmALCYStFu9gQ/dFouYc6yRfn+B+Z+q5ZNnsamoNDOlfZybJ/eERN+UCmU7BasA==","_resolved":"/tmp/5c2a483eee9329f85795ba649ed7cdd5/next-yandex-metrica-1.2.3.tgz","_from":"file:next-yandex-metrica-1.2.3.tgz","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-/hsWYh4MrXDytYU78e4zYgFhmALCYStFu9gQ/dFouYc6yRfn+B+Z+q5ZNnsamoNDOlfZybJ/eERN+UCmU7BasA==","shasum":"90864535b41be9bc0047def25a7f2bc6392dee00","tarball":"https://registry.npmjs.org/next-yandex-metrica/-/next-yandex-metrica-1.2.3.tgz","fileCount":33,"unpackedSize":23757,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCD/8Np1Sqj5/WDK5O7/OVtgqcRgOlk6Hnd2RhrwHay7gIhAPe9Y83PcWKKWlgXoT1vQTjUyjQeGqFziLEMKXjLgwiO"}]},"_npmUser":{"name":"reapz","email":"reapziq@gmail.com"},"directories":{},"maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/next-yandex-metrica_1.2.3_1758136081925_0.10600145128034022"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-02T11:07:12.392Z","modified":"2025-09-17T19:08:02.317Z","0.1.0":"2023-05-02T11:07:12.539Z","1.0.0":"2023-05-05T18:51:02.533Z","1.1.0":"2023-12-11T01:27:42.169Z","1.1.1":"2023-12-11T01:39:23.943Z","1.1.2":"2024-03-03T17:29:21.139Z","1.2.0":"2025-06-08T19:51:57.740Z","1.2.1":"2025-07-05T08:41:47.882Z","1.2.2":"2025-07-26T09:35:29.282Z","1.2.3":"2025-09-17T19:08:02.127Z"},"bugs":{"url":"https://github.com/v-doronin/next-yandex-metrica/issues"},"author":{"name":"Vladislav Doronin","email":"reapziq@gmail.com"},"license":"MIT","homepage":"https://github.com/v-doronin/next-yandex-metrica#readme","keywords":["next","next.js","yandex","metrica","metrika","analytics"],"repository":{"type":"git","url":"git+https://github.com/v-doronin/next-yandex-metrica.git"},"description":"Yandex Metrica integration for Next.js","maintainers":[{"name":"reapz","email":"reapziq@gmail.com"}],"readme":"# Next.js Yandex Metrica\n\n[![npm version](https://badge.fury.io/js/next-yandex-metrica.svg)](https://badge.fury.io/js/next-yandex-metrica)\n[![codecov](https://codecov.io/gh/v-doronin/next-yandex-metrica/graph/badge.svg?token=OZ8UX4NPK2)](https://codecov.io/gh/v-doronin/next-yandex-metrica)\n\nYandex Metrica integration for Next.js\n\n## Usage\n\n### Add the provider\n\n#### Pages router\n\n```tsx\n// pages/_app.tsx\nimport { YandexMetricaProvider } from 'next-yandex-metrica';\n\nexport default function MyApp({ Component, pageProps }: AppProps) {\n  return (\n    <YandexMetricaProvider\n      tagID={12345678}\n      initParameters={{ clickmap: true, trackLinks: true, accurateTrackBounce: true }}\n      router=\"pages\"\n    >\n      <Component {...pageProps} />\n    </YandexMetricaProvider>\n  );\n}\n```\n\n#### App router\n\n```tsx\n// app/layout.tsx\nimport { YandexMetricaProvider } from 'next-yandex-metrica';\n\nexport default function RootLayout({ children }: { children: React.ReactNode }) {\n  return (\n    <YandexMetricaProvider\n      tagID={12345678}\n      initParameters={{ clickmap: true, trackLinks: true, accurateTrackBounce: true }}\n      router=\"app\"\n    >\n      {children}\n    </YandexMetricaProvider>\n  );\n}\n```\n\n> **Note:** `YandexMetricaProvider` uses the `\"use client\"` directive.\n\n#### `YandexMetricaProvider` Props\n\n| Name                      | Description                                                                                                                          |\n| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |\n| `tagID`                   | Yandex.Metrica tag ID.                                                                                                               |\n| `strategy`                | [next/script](https://nextjs.org/docs/api-reference/next/script#strategy) loading strategy. Defaults to `afterInteractive`.          |\n| `initParameters`          | Yandex.Metrica tag [initialization parameters](https://yandex.com/support/metrica/code/counter-initialize.html).                     |\n| `shouldUseAlternativeCDN` | Use the [alternative CDN](https://yandex.ru/support/metrica/general/counter-general.html?lang=en#other__cdn) to load Yandex.Metrica. |\n| `router`                  | `app` or `pages`                                                                                                                     |\n\nYandex.Metrica tag ID is read from the `tagID` property and the `NEXT_PUBLIC_YANDEX_METRICA_ID` environment variable. If both are set, the provider property takes priority.\n\n### Send events\n\n`next/router` pageviews are tracked automatically.\n\nThe package provides `useMetrica` hook for sending custom analytics events.\n\n```jsx\nimport { useMetrica } from 'next-yandex-metrica';\n\nexport function ActionButton() {\n  const { reachGoal } = useMetrica();\n\n  return (\n    <button type=\"button\" onClick={() => reachGoal('cta-click')}>\n      CTA\n    </button>\n  );\n}\n```\n\nThe returned functions accept the same parameters as those found in the [Yandex.Metrica object methods](https://yandex.com/support/metrica/objects/method-reference.html).\n\nAll functions are automatically provided with the tag ID that is supplied to the provider or the environment variable. `useMetrica` hook exposes functions for calling `notBounce`, `reachGoal`, `setUserID`, and `userParams` without specifying the event name. Other methods can be called using the `ymEvent` function, with the event name as the first argument. In both cases, all event parameters are type-checked.\n\n```jsx\nimport { useMetrica } from 'next-yandex-metrica';\n\nexport function ActionButton() {\n  const { ymEvent } = useMetrica();\n\n  const handleExternalLinkClick = () => {\n    ymEvent('extLink', 'https://www.google.com');\n  };\n\n  // ...\n}\n```\n\nIn case if you need to use the Yandex.Metrica object directly, you can access it using the `ym` property.\n\n```jsx\nimport { ym } from 'next-yandex-metrica';\n\nexport function ActionButton() {\n  return (\n    <button type=\"button\" onClick={() => ym(12345678, 'reachGoal', 'cta-click')}>\n      CTA\n    </button>\n  );\n}\n```\n","readmeFilename":"README.md"}