{"_id":"@arylo-scripts/gm-vue","_rev":"2-a9c4e6efeed9f57ab9da5fe3148b2beb","name":"@arylo-scripts/gm-vue","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@arylo-scripts/gm-vue","version":"1.0.0","keywords":["userscript","tampermonkey","greasemonkey","vue","typescript"],"author":{"name":"Arylo Yeung","email":"arylo.open@gmail.com"},"license":"MIT","_id":"@arylo-scripts/gm-vue@1.0.0","maintainers":[{"name":"arylo","email":"arylo.open+npm@gmail.com"}],"homepage":"https://github.com/arylo-scripts/gm-vue#readme","bugs":{"url":"https://github.com/arylo-scripts/gm-vue/issues"},"dist":{"shasum":"1aa397eaa18c447bc40b42746e23ac639dd62255","tarball":"https://registry.npmjs.org/@arylo-scripts/gm-vue/-/gm-vue-1.0.0.tgz","fileCount":27,"integrity":"sha512-HGa0sWFKoJTFMuZfCvKUHqY82a19IWT6tRqI9+v2rXIRpKGJ/965Sjn+TvPy+64ss5VGCRDVniTmOGrDACrHZw==","signatures":[{"sig":"MEUCICr8yNFFD8Ua0rHxAIKQnD0XdffoRJ2H7CaoIN61MOveAiEA4sA3ptQKreNqgepHzOQHoP/qLhBTr2WxixKIdF/aqAA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arylo-scripts%2fgm-vue@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22746},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":"24.12.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"06f68907a88d3d90b95f89d5fe589200c53590ba","scripts":{"lint":"concurrently -m 1 --timings npm:lint:*","build":"tsc -p tsconfig.json","clean":"rimraf dist","prepare":"npm run build","lint:oxlint":"oxlint","fix:formatter":"oxfmt","lint:formatter":"oxfmt --check","lint:type-check":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"arylo","email":"arylo.open+npm@gmail.com"},"repository":{"url":"git+https://github.com/arylo-scripts/gm-vue.git","type":"git"},"_npmVersion":"11.6.2","description":"Vue userscript helpers backed by the page-level Vue runtime.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"packageManager":"npm@11.6.2","devDependencies":{"vue":"^3.5.29","oxfmt":"^0.35.0","oxlint":"^1.58.0","rimraf":"^6.1.3","typescript":"~5.9.3","concurrently":"^8.2.2","@arylo-scripts/tsconfig":"^1.0.0"},"peerDependencies":{"vue":"^3.5.29"},"_npmOperationalInternal":{"tmp":"tmp/gm-vue_1.0.0_1789205800106_0.5824586264527942","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"_id":"@arylo-scripts/gm-vue@1.1.0","bugs":{"url":"https://github.com/arylo-scripts/gm-vue/issues"},"dist":{"shasum":"1983e4aa77184ddd34d263bdfdc87a3a9125bf15","tarball":"https://registry.npmjs.org/@arylo-scripts/gm-vue/-/gm-vue-1.1.0.tgz","fileCount":9,"integrity":"sha512-I4I6HuuuYhW7BG4JlAiJraapa5jO6vxm3OSJdmJHo3WWmy9YDhaARjpz7q6txofT8fQb/Hhn0n+6NMANd/mGJg==","signatures":[{"sig":"MEUCIQCiJNjmxwIjU8xtV0mQ+mgY+DkOOduXG335C6jU4/wfuQIgCmfsHggEIS3KX9ms0bjfhRjKeJ09pFhwfrBfTSErrAY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDf/mn8glXyM4d2vQGdoBKjeLxL5unxn0Hh7UXWUFtmCAIhAM5DobhvpKaB4hFbXkd94ZrfLASa7PLO4wwl9tK7tInf"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arylo-scripts%2fgm-vue@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35158},"main":"./dist/index.js","name":"@arylo-scripts/gm-vue","types":"./dist/index.d.ts","author":{"name":"Arylo Yeung","email":"arylo.open@gmail.com"},"module":"./dist/index.mjs","engines":{"node":"24.12.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"4f2914fab96173c60ba8f5f9e9f6e1e34ca6a22a","license":"MIT","scripts":{"lint":"concurrently -m 1 --timings npm:lint:*","build":"concurrently -m 1 --timings npm:build:*","clean":"rimraf dist","prepare":"npm run build","build:cjs":"tsdown src/index.ts --format cjs --out-dir dist --no-clean --platform neutral --target es2018 --sourcemap --dts","build:esm":"tsdown src/index.ts --format esm --out-dir dist --no-clean --platform neutral --target es2018 --sourcemap --no-dts","lint:oxlint":"oxlint","fix:formatter":"oxfmt","lint:formatter":"oxfmt --check","lint:type-check":"tsc -p tsconfig.json --noEmit"},"version":"1.1.0","_npmUser":{"name":"arylo","email":"arylo.open+npm@gmail.com"},"homepage":"https://github.com/arylo-scripts/gm-vue#readme","keywords":["userscript","tampermonkey","greasemonkey","vue","typescript"],"repository":{"url":"git+https://github.com/arylo-scripts/gm-vue.git","type":"git"},"_npmVersion":"11.6.2","description":"Vue userscript helpers backed by the page-level Vue runtime.","directories":{},"maintainers":[{"name":"arylo","email":"arylo.open+npm@gmail.com"}],"_nodeVersion":"24.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"packageManager":"npm@11.6.2","devDependencies":{"vue":"^3.5.29","oxfmt":"^0.35.0","oxlint":"^1.58.0","rimraf":"^6.1.3","tsdown":"^0.23.0","typescript":"~5.9.3","concurrently":"^8.2.2","@arylo-scripts/tsconfig":"^1.0.0"},"peerDependencies":{"vue":"^3.5.29"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gm-vue_1.1.0_1789403985827_0.47905188268064736"}}},"time":{"created":"2026-09-12T09:36:39.975Z","modified":"2026-09-14T16:39:46.261Z","1.0.0":"2026-09-12T09:36:40.232Z","1.1.0":"2026-09-14T16:39:45.915Z"},"bugs":{"url":"https://github.com/arylo-scripts/gm-vue/issues"},"author":{"name":"Arylo Yeung","email":"arylo.open@gmail.com"},"license":"MIT","homepage":"https://github.com/arylo-scripts/gm-vue#readme","keywords":["userscript","tampermonkey","greasemonkey","vue","typescript"],"repository":{"url":"git+https://github.com/arylo-scripts/gm-vue.git","type":"git"},"description":"Vue userscript helpers backed by the page-level Vue runtime.","maintainers":[{"name":"arylo","email":"arylo.open+npm@gmail.com"}],"readme":"# gm-vue\n\nVue helpers for userscripts that consume a page-level Vue runtime.\n\n## Install\n\n```sh\nnpm install @arylo-scripts/gm-vue\n```\n\n## Usage\n\n```ts\nimport {\n  computed,\n  createApp,\n  defineComponent,\n  h,\n  onMounted,\n  ref,\n} from '@arylo-scripts/gm-vue'\n\nconst App = defineComponent({\n  setup() {\n    const count = ref(0)\n    const doubled = computed(() => count.value * 2)\n\n    onMounted(() => {\n      count.value += 1\n    })\n\n    return () => h('div', `${count.value} / ${doubled.value}`)\n  },\n})\n\ncreateApp(App).mount('#app')\n```\n\nVue is a peer dependency and must exist as the page-level `Vue` global. This\npackage exposes the page runtime with the same TypeScript types instead of\nbundling another Vue instance.\n\n## API\n\n- Global APIs: `createApp`, `nextTick`, `defineComponent`, `defineAsyncComponent`\n- Rendering: `h`, `compile`, `mergeProps`\n- Components: `Fragment`, `KeepAlive`, `Transition`, `TransitionGroup`, `Teleport`, `Suspense`\n- Common Composition API utilities, lifecycle hooks, dependency injection, and Vue types\n\n## Development\n\n```sh\nnpm install\nnpm run lint\nnpm run build\n```\n","readmeFilename":"README.md"}