{"_id":"@artmizu/yandex-metrika-nuxt-2","_rev":"2-ac8c8770d644ff57aef51653f07b03b2","name":"@artmizu/yandex-metrika-nuxt-2","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.1":{"name":"@artmizu/yandex-metrika-nuxt-2","version":"1.0.1","author":{"url":"http://artmizu.ru/","name":"Aleksandr Saburov","email":"hello@artmizu.ru"},"_id":"@artmizu/yandex-metrika-nuxt-2@1.0.1","maintainers":[{"name":"artmizu","email":"mochej2@gmail.com"}],"dist":{"shasum":"e93b14378fd86954fab3487ec8d775b55cfe2afd","tarball":"https://registry.npmjs.org/@artmizu/yandex-metrika-nuxt-2/-/yandex-metrika-nuxt-2-1.0.1.tgz","fileCount":9,"integrity":"sha512-FTqwhEp6Ofc21kSoduoW3HCMRpxPeFnC7a/ns0BIIfaM6UYdsXHhroK1Dlz0llS5hMR6LmrqdoYpxbmaexOwTQ==","signatures":[{"sig":"MEUCIAEFShrS/OK6jyzfPnZav7Sd87ZIOdPLMWgKEVmmdFBUAiEAurCH4m8Qdx30nf85WmlW1L0VLAIu975jC9DiGkTzbZ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgFMZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo99g/+OY7seeKW9Y1jbW/f0aFol+4i0j4IKnRrY6o1CTz//jCOT9E0\r\nJoBVzf8lO8F2+9WkhGbujXHXln168oGFb69fetP10kGZqKAODefi0QCJ27yz\r\nVERsq948qKr9419KxrpbDp1XofJGd55pMfhdhP4eeSwaWe9HamKZdizPZKSN\r\nLPgxN3AfCH2O573bb8nmVcJzTq/rkNuc3LoHczRiMICj6O4gDCNEOTOQu+dA\r\nOKfpnFZnqzFCRjE8bgyhagWHgTTjBW08Dp0tWcG/POWyb1eGhCa8ZJTV9Mji\r\nyZ8+iTYo1cchednZiBU9TAPRMWCTJFmth3gi/hOV+SXNlF0M1csOLBH5Eb+B\r\n1C90m5D/2Yqv3hfqiSLPlYyJCI4pnlBYj5USMt2cuBdlARqfH4Qvh9zhI80V\r\nHla2aIrv10W4eoaaG7+GApJ2cYjKn2rmRqDPMGxNaRBGa8ihVWFvtut1ttVn\r\n+7WrJpJ8f4rTeAETk0XlDtbxkABavEWC1OjVrPdIA1gKGahq1c8RC16gguth\r\nJLt9Q4otpoV2zD4Bo3KNWnWbEBaSQU17YfevuZTR+OM9tzAAvTFr4dDy0pWS\r\n3RSIs9RqX1JBXD2T6S5RJyCM+PYyvWKcrLemfk/trQXHMqg9l9UVOL/Zl7I1\r\nqInX3W5jVdVVFY1Fz5WSZCSmsDLDdJNKhv0=\r\n=Q7QX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/module.cjs","type":"module","_from":"file:artmizu-yandex-metrika-nuxt-2-1.0.1.tgz","types":"./dist/module.d.ts","module":"./dist/module.mjs","engines":{"node":"^16.0.0"},"exports":{".":{"types":"./dist/module.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nodemon --exec 'pnpm build' --watch ./src -e js,ts","lint":"eslint --ext .ts,.js,.vue .","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest","build":"pnpm unbuild","typecheck":"pnpm tsc","playground":"nodemon --exec 'nuxt ./playground' --watch ./dist -e js,ts","test:watch":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch","playground:build":"nuxt build ./playground","playground:start":"nuxt start ./playground"},"_npmUser":{"name":"artmizu","email":"mochej2@gmail.com"},"_resolved":"/tmp/9240e921419c8d81fe127d1f960a8891/artmizu-yandex-metrika-nuxt-2-1.0.1.tgz","_integrity":"sha512-FTqwhEp6Ofc21kSoduoW3HCMRpxPeFnC7a/ns0BIIfaM6UYdsXHhroK1Dlz0llS5hMR6LmrqdoYpxbmaexOwTQ==","_npmVersion":"8.19.2","description":"","directories":{},"resolutions":{"typescript":"4.7.4"},"_nodeVersion":"16.18.1","dependencies":{"consola":"^2.15.3","type-fest":"^3.2.0","lodash.merge":"^4.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.16.1","devDependencies":{"vue":"^2.7.10","jest":"26.6.3","nuxt":"^2.15.8","husky":"^8.0.2","eslint":"^8.24.0","core-js":"^3.25.3","nodemon":"^2.0.20","ts-jest":"^29.0.3","unbuild":"^1.0.1","vue-jest":"^3.0.4","cross-env":"^7.0.3","babel-core":"7.0.0-bridge.0","babel-jest":"26.6.3","playwright":"^1.28.0","typescript":"4.7.4","@nuxt/types":"^2.15.8","@types/jest":"^26.0.24","@types/node":"^18.11.9","@vue/test-utils":"^1.3.0","@nuxt/test-utils":"0.2.2","eslint-plugin-vue":"^9.5.1","eslint-plugin-jest":"^27.0.4","eslint-plugin-nuxt":"^4.0.0","@types/lodash.merge":"^4.6.7","vue-server-renderer":"^2.7.10","@antfu/eslint-config":"^0.31.0","@babel/eslint-parser":"^7.19.1","@nuxtjs/eslint-module":"^3.1.0","vue-template-compiler":"^2.7.10","@nuxt/typescript-build":"^2.1.0","jest-environment-jsdom":"^26.6.2","@nuxt/typescript-runtime":"^2.1.0","@nuxtjs/eslint-config-typescript":"^11.0.0"},"peerDependencies":{"@nuxt/types":"^2.15.8"},"_npmOperationalInternal":{"tmp":"tmp/yandex-metrika-nuxt-2_1.0.1_1669354265165_0.31365869028742255","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@artmizu/yandex-metrika-nuxt-2","version":"1.0.2","author":{"url":"http://artmizu.ru/","name":"Aleksandr Saburov","email":"hello@artmizu.ru"},"_id":"@artmizu/yandex-metrika-nuxt-2@1.0.2","maintainers":[{"name":"artmizu","email":"mochej2@gmail.com"}],"dist":{"shasum":"89aebc1ecec642a1f698ce77461fb564d4739750","tarball":"https://registry.npmjs.org/@artmizu/yandex-metrika-nuxt-2/-/yandex-metrika-nuxt-2-1.0.2.tgz","fileCount":9,"integrity":"sha512-GSUhjB73JXWQuPo5FPYFz6T1t6qasMxsyh6xzDHg8/Ei5s3ptHtCj1MCI7cKCYhRThKiUU0NAuk5ex/Em/52Sw==","signatures":[{"sig":"MEUCIEu1zdnQa+C9BEVVGjifm4j/Y/3Hd5KWvDyim+17WjIZAiEA82W1/PXnQgf+2nqqevEzQ3ufBI4BzXjzeyI6uHqzJ8w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjot6fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpErw/+PQSyljQhQnpjtz6ofX8GvviQnkoJXbNJvgBbd//f2gDvzP2s\r\nCWQv4zzGUjOKu/fwojEM/C8wUhzHmXm/nuAQoxGLs18NommdVcXUeedshc+v\r\nw0Fx5jYCJM6LeB16+eD/V/7oFZ1g9R/wNGM1XmGSc5zqwLxiGoWIzjXXmlJr\r\nHZTrb93qPRBDDHhL2aZp/KnOsjklJJGMY8Q/Cwp6nC7TG2n/kPLRz+LXSU7A\r\nOXiipQk5wmsb80o3/11miyo/i5kfV9/0AUHoucLcOFZJqeGs7LMOLwScnXTS\r\naUD5ssPzqxzPiAg2jcvOaNBEhjXObssz9URJWa2sGnX3PQ3ZLCDU259vEEOC\r\nh5oCXFOA65VnhP3Ll/QJ85cUhYdnFwvMoRRGQYRzwhpFl5QjCH9DSHPk5kZc\r\ngtlF97H2lEbZDLFf3+sK0I+1OhYW2aKKjAKgs/JUKs3oK3l65okaV1LPJNYq\r\nT5P3SqElgyyGkMIqkEy2mx2/ZnFEU43He+nnInmQxKcq9pecA7ZHiWvXv7gJ\r\n7XFdhgFmjhzeuMOLNoxNvmKBptckdanh/ciSrEuE9QOjUes7A4Xz5KJHU26J\r\nKR3z4cnCqcHLUy6p++QiAaBH61fOgydNIPpZOlTD6Lzbe+NR5AFl5BtGqAQ2\r\nbg/bQuYdQGLqrNbsj06tgSqYn6MTDEQr+xg=\r\n=JuOK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/module.cjs","type":"module","_from":"file:artmizu-yandex-metrika-nuxt-2-1.0.2.tgz","types":"./dist/module.d.ts","module":"./dist/module.mjs","engines":{"node":"^16.0.0"},"exports":{".":{"types":"./dist/module.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nodemon --exec 'pnpm build' --watch ./src -e js,ts","lint":"eslint --ext .ts,.js,.vue .","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest","build":"pnpm unbuild","typecheck":"pnpm tsc","playground":"nodemon --exec 'nuxt ./playground' --watch ./dist -e js,ts","test:watch":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch","playground:build":"nuxt build ./playground","playground:start":"nuxt start ./playground"},"_npmUser":{"name":"artmizu","email":"mochej2@gmail.com"},"_resolved":"/tmp/dd34c00603af1742c2030110639946cf/artmizu-yandex-metrika-nuxt-2-1.0.2.tgz","_integrity":"sha512-GSUhjB73JXWQuPo5FPYFz6T1t6qasMxsyh6xzDHg8/Ei5s3ptHtCj1MCI7cKCYhRThKiUU0NAuk5ex/Em/52Sw==","_npmVersion":"8.19.2","description":"![GitHub Workflow Status](https://img.shields.io/github/workflow/status/artmizu/yandex-metrika-nuxt-2/CI?label=CI&style=plastic) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/artmizu/yandex-metrika-nuxt-2/release-please?label=rel","directories":{},"resolutions":{"typescript":"4.7.4"},"_nodeVersion":"16.18.1","dependencies":{"consola":"^2.15.3","type-fest":"^3.2.0","lodash.merge":"^4.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.16.1","devDependencies":{"vue":"^2.7.10","jest":"26.6.3","nuxt":"^2.15.8","husky":"^8.0.2","eslint":"^8.24.0","core-js":"^3.25.3","nodemon":"^2.0.20","ts-jest":"^29.0.3","unbuild":"^1.0.1","vue-jest":"^3.0.4","cross-env":"^7.0.3","babel-core":"7.0.0-bridge.0","babel-jest":"26.6.3","playwright":"^1.28.0","typescript":"4.7.4","@nuxt/types":"^2.15.8","@types/jest":"^26.0.24","@types/node":"^18.11.9","@vue/test-utils":"^1.3.0","@nuxt/test-utils":"0.2.2","eslint-plugin-vue":"^9.5.1","eslint-plugin-jest":"^27.0.4","eslint-plugin-nuxt":"^4.0.0","@types/lodash.merge":"^4.6.7","vue-server-renderer":"^2.7.10","@antfu/eslint-config":"^0.31.0","@babel/eslint-parser":"^7.19.1","@nuxtjs/eslint-module":"^3.1.0","vue-template-compiler":"^2.7.10","@nuxt/typescript-build":"^2.1.0","jest-environment-jsdom":"^26.6.2","@nuxt/typescript-runtime":"^2.1.0","@nuxtjs/eslint-config-typescript":"^11.0.0"},"peerDependencies":{"@nuxt/types":"^2.15.8"},"_npmOperationalInternal":{"tmp":"tmp/yandex-metrika-nuxt-2_1.0.2_1671618207762_0.767081386388766","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@artmizu/yandex-metrika-nuxt-2","type":"module","version":"1.1.0","packageManager":"pnpm@7.16.1","author":{"name":"Aleksandr Saburov","email":"hello@artmizu.ru","url":"http://artmizu.ru/"},"exports":{".":{"types":"./dist/module.d.ts","require":"./dist/module.cjs","import":"./dist/module.mjs"}},"publishConfig":{"access":"public"},"main":"./dist/module.cjs","module":"./dist/module.mjs","types":"./dist/module.d.ts","engines":{"node":"^16.0.0"},"peerDependencies":{"@nuxt/types":"^2.15.8"},"dependencies":{"consola":"^2.15.3","lodash.merge":"^4.6.2","type-fest":"^3.2.0"},"devDependencies":{"@antfu/eslint-config":"^0.31.0","@babel/eslint-parser":"^7.19.1","@nuxt/test-utils":"0.2.2","@nuxt/types":"^2.15.8","@nuxt/typescript-build":"^2.1.0","@nuxt/typescript-runtime":"^2.1.0","@nuxtjs/eslint-config-typescript":"^11.0.0","@nuxtjs/eslint-module":"^3.1.0","@types/jest":"^26.0.24","@types/lodash.merge":"^4.6.7","@types/node":"^18.11.9","@vue/test-utils":"^1.3.0","babel-core":"7.0.0-bridge.0","babel-jest":"26.6.3","core-js":"^3.25.3","cross-env":"^7.0.3","eslint":"^8.24.0","eslint-plugin-jest":"^27.0.4","eslint-plugin-nuxt":"^4.0.0","eslint-plugin-vue":"^9.5.1","husky":"^8.0.2","jest":"26.6.3","jest-environment-jsdom":"^26.6.2","nodemon":"^2.0.20","nuxt":"^2.15.8","playwright":"^1.28.0","ts-jest":"^29.0.3","typescript":"4.7.4","unbuild":"^1.0.1","vue":"^2.7.10","vue-jest":"^3.0.4","vue-server-renderer":"^2.7.10","vue-template-compiler":"^2.7.10"},"resolutions":{"typescript":"4.7.4"},"scripts":{"dev":"nodemon --exec 'pnpm build' --watch ./src -e js,ts","build":"pnpm unbuild","playground":"nodemon --exec 'nuxt ./playground' --watch ./dist -e js,ts","playground:build":"nuxt build ./playground","playground:start":"nuxt start ./playground","test":"cross-env NODE_OPTIONS=--experimental-vm-modules jest","test:watch":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch","lint":"eslint --ext .ts,.js,.vue .","typecheck":"pnpm tsc"},"description":"![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/artmizu/yandex-metrika-nuxt-2/release.yml?branch=main&style=plastic)","_id":"@artmizu/yandex-metrika-nuxt-2@1.1.0","_integrity":"sha512-mj1yVygLV1XB3AC97uZ838xpHceSxB6p5PpC+FBKIVDbpdjw3PTgF7Hh72eI2NcDfsrM82fq2KaCtKU/LD39eA==","_resolved":"/tmp/c8695e44ae25fb2adc13f6c1a7d22bc2/artmizu-yandex-metrika-nuxt-2-1.1.0.tgz","_from":"file:artmizu-yandex-metrika-nuxt-2-1.1.0.tgz","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-mj1yVygLV1XB3AC97uZ838xpHceSxB6p5PpC+FBKIVDbpdjw3PTgF7Hh72eI2NcDfsrM82fq2KaCtKU/LD39eA==","shasum":"4f775625d6e316f9869a370ecf1595b715476d5a","tarball":"https://registry.npmjs.org/@artmizu/yandex-metrika-nuxt-2/-/yandex-metrika-nuxt-2-1.1.0.tgz","fileCount":9,"unpackedSize":12316,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTTttGsIdOWavdWo1yBPAVXT4qcEVLNoeUoN2nwkS1+AiA8TyVKhH8/WSpxqZHXzN2Y/PO3CjrKzQnL3bA6CMbt4A=="}]},"_npmUser":{"name":"artmizu","email":"mochej2@gmail.com"},"directories":{},"maintainers":[{"name":"artmizu","email":"mochej2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/yandex-metrika-nuxt-2_1.1.0_1737460156057_0.3166312779106204"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-25T05:31:05.115Z","modified":"2025-01-21T11:49:16.501Z","1.0.1":"2022-11-25T05:31:05.310Z","1.0.2":"2022-12-21T10:23:27.946Z","1.1.0":"2025-01-21T11:49:16.325Z"},"author":{"name":"Aleksandr Saburov","email":"hello@artmizu.ru","url":"http://artmizu.ru/"},"description":"![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/artmizu/yandex-metrika-nuxt-2/release.yml?branch=main&style=plastic)","maintainers":[{"name":"artmizu","email":"mochej2@gmail.com"}],"readme":"![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/artmizu/yandex-metrika-nuxt-2/release.yml?branch=main&style=plastic)\n\n# 🕵️ Yandex Metrika for Nuxt 2\n\n## Features\n* Types via Typescript\n* Prints handy mesages in a dev mode, when certain goals is reached\n* Expose useful methods to the nuxt app instance\n* Fully customizable via runtime config\n\n## Installation\nInstall package via a package manager:\n```bash\n# using npm\nnpm install @artmizu/yandex-metrika-nuxt-2\n\n# using yarm\nyarn add @artmizu/yandex-metrika-nuxt-2\n\n# using pnpm\npnpm add @artmizu/yandex-metrika-nuxt-2\n```\n\nAdd it to a modules section of your nuxt config:\n```js\nexport default {\n  buildModules: ['@artmizu/yandex-metrika-nuxt-2']\n}\n```\n\n## Options\nYou can pass it through module options and the nuxt config property `yandexMetrika`.\n\n## How to use\nFrom the nuxt context, you can use:\n```javascript\n// on goals\nthis.$metrika.reachGoal('goal-name')\n\n// on page hit\nthis.$metrika.hit('/path/to/page')\n```\n\n### initParams\n- Description: parameters are sent directly to yandex metrika [init function](https://yandex.ru/support/metrica/code/counter-initialize.html)\n- Type: `boolean`\n- Default:\n```\n{\n  defer: true,\n  clickmap: true,\n  trackLinks: true,\n  accurateTrackBounce: true,\n  webvisor: true,\n  ecommerce: true,\n}\n```\n\n### verbose\n- Description: handy messages about navigation and metrics goals\n- Type: `boolean`\n- Default: `true`\n\n### noscript\n- Type: `boolean`\n- Default: `true`\n\n### useCDN\n- Type: `boolean`\n- Default: `false`","readmeFilename":"README.md"}