{"_id":"@all1ndev/vue-local-scope","_rev":"2-e8db62cc67b5a602919b1792dd88840b","name":"@all1ndev/vue-local-scope","dist-tags":{"latest":"0.3.2"},"versions":{"0.3.1":{"name":"@all1ndev/vue-local-scope","version":"0.3.1","keywords":["vue","vue3","composition-api","local-scope"],"license":"MIT","_id":"@all1ndev/vue-local-scope@0.3.1","maintainers":[{"name":"directive4837","email":"yr9gpern39+npmjs.com+bqh94h0n@pm.me"}],"homepage":"https://github.com/allindevelopers/vue-local-scope#readme","bugs":{"url":"https://github.com/allindevelopers/vue-local-scope/issues"},"dist":{"shasum":"16bc15cfe79fec0cf0aec17450df380c46949c35","tarball":"https://registry.npmjs.org/@all1ndev/vue-local-scope/-/vue-local-scope-0.3.1.tgz","fileCount":7,"integrity":"sha512-UFxWB2pcY8V6vzjYHsoDIKpO/O8Q2aNbgm/iozjAF2pRYMskz0ud2ae86mmBku5ya0qlj5/EFKGeLc3GPdTa+w==","signatures":[{"sig":"MEUCIGVbcBkpLHBleCOl9uRsbfvxncnQniW+xwrBjx9FM2MiAiEAsIqpygjle1/LiBq+CN5XmHRskvCnzsHlnO9mY2WnW4g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5005},"main":"./dist/vue-local-scope.umd.cjs","type":"module","types":"./dist/vue-local-scope.d.ts","module":"./dist/vue-local-scope.js","exports":{".":{"types":"./dist/vue-local-scope.d.ts","import":"./dist/vue-local-scope.js","require":"./dist/vue-local-scope.umd.cjs"}},"gitHead":"eb10eee777d2e4478098c44b781f5111b755bbb0","scripts":{"dev":"vite","test":"vue-tsc -b","build":"vue-tsc -b && vite build && npm run generate-types","preview":"vite preview","release":"npx np","generate-types":"vue-tsc lib/vue-local-scope.ts --declaration --emitDeclarationOnly --outDir dist"},"_npmUser":{"name":"directive4837","email":"yr9gpern39+npmjs.com+bqh94h0n@pm.me"},"prettier":"@all1ndev/prettier-config","repository":{"url":"git+https://github.com/allindevelopers/vue-local-scope.git","type":"git"},"_npmVersion":"11.7.0","description":"> An implementation of [posva/vue-local-scope](https://github.com/posva/vue-local-scope) for Vue 3 and TypeScript support","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.26","vite":"^7.3.0","vue-tsc":"^3.2.1","prettier":"^3.7.4","typescript":"^5.9.3","@types/node":"^24.10.4","@vitejs/plugin-vue":"^6.0.3","@vitejs/plugin-vue-jsx":"^5.1.3","@all1ndev/prettier-config":"^2.0.0"},"peerDependencies":{"vue":"^3.5.26"},"_npmOperationalInternal":{"tmp":"tmp/vue-local-scope_0.3.1_1767563060407_0.18406668948777694","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@all1ndev/vue-local-scope","license":"MIT","version":"0.3.2","type":"module","main":"./dist/vue-local-scope.umd.cjs","module":"./dist/vue-local-scope.js","types":"./dist/vue-local-scope.d.ts","exports":{".":{"types":"./dist/vue-local-scope.d.ts","import":"./dist/vue-local-scope.js","require":"./dist/vue-local-scope.umd.cjs"}},"repository":{"type":"git","url":"git+https://github.com/all1ndev/vue-local-scope.git"},"keywords":["vue","vue3","composition-api","local-scope"],"scripts":{"dev":"vite","build":"vue-tsc -b && vite build && npm run generate-types","generate-types":"vue-tsc lib/vue-local-scope.ts --declaration --emitDeclarationOnly --outDir dist","preview":"vite preview","test":"vue-tsc -b","release":"npx np"},"peerDependencies":{"vue":"^3.5.26"},"devDependencies":{"@all1ndev/prettier-config":"^2.0.0","@types/node":"^24.10.4","@vitejs/plugin-vue":"^6.0.3","@vitejs/plugin-vue-jsx":"^5.1.3","prettier":"^3.7.4","typescript":"^5.9.3","vite":"^7.3.0","vue":"^3.5.26","vue-tsc":"^3.2.1"},"prettier":"@all1ndev/prettier-config","gitHead":"164f8a04cc4e7412c6efbd75bcf0aada716a6f63","_id":"@all1ndev/vue-local-scope@0.3.2","description":"> An implementation of [posva/vue-local-scope](https://github.com/posva/vue-local-scope) for Vue 3 and TypeScript support","bugs":{"url":"https://github.com/all1ndev/vue-local-scope/issues"},"homepage":"https://github.com/all1ndev/vue-local-scope#readme","_nodeVersion":"24.12.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-aLoMC2SOMDjfAWKiUeceXPTynlCkQZbKYfMNlW8fHaMmibWkg7QVahKbUu/NQ0OrkePQBvrLdREamPseTT/s0A==","shasum":"6eaeda6d88092029b687032b0c91c7a76699244e","tarball":"https://registry.npmjs.org/@all1ndev/vue-local-scope/-/vue-local-scope-0.3.2.tgz","fileCount":7,"unpackedSize":4998,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCeVXk7AfjKv/clqyFRmxxXMbj/2U2nrSOZk39gKrOERgIgLqo6A5tgKKnQbdQOXBS3Vhw+7yY4gGDzyu5H/EaapVM="}]},"_npmUser":{"name":"directive4837","email":"yr9gpern39+npmjs.com+bqh94h0n@pm.me"},"directories":{},"maintainers":[{"name":"directive4837","email":"yr9gpern39+npmjs.com+bqh94h0n@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vue-local-scope_0.3.2_1767563162945_0.36678440625861164"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-04T21:44:20.339Z","modified":"2026-01-04T21:46:03.632Z","0.3.1":"2026-01-04T21:44:20.550Z","0.3.2":"2026-01-04T21:46:03.085Z"},"bugs":{"url":"https://github.com/all1ndev/vue-local-scope/issues"},"license":"MIT","homepage":"https://github.com/all1ndev/vue-local-scope#readme","keywords":["vue","vue3","composition-api","local-scope"],"repository":{"type":"git","url":"git+https://github.com/all1ndev/vue-local-scope.git"},"description":"> An implementation of [posva/vue-local-scope](https://github.com/posva/vue-local-scope) for Vue 3 and TypeScript support","maintainers":[{"name":"directive4837","email":"yr9gpern39+npmjs.com+bqh94h0n@pm.me"}],"readme":"# @all1ndev/vue-local-scope\n\n> An implementation of [posva/vue-local-scope](https://github.com/posva/vue-local-scope) for Vue 3 and TypeScript support\n\nAllows to reuse an expression that is repeating multiple times in a Vue Template\n\n```vue\n<script setup lang=\"ts\">\nimport { LocalScope } from \"@all1ndev/vue-local-scope\";\n</script>\n\n<template>\n\t<LocalScope\n\t\tlorem=\"Lorem Ipsum Dolor Sit Amet\"\n\t\tlorem-ipsum=\"dolor\"\n\t\t#default=\"props\"\n\t>\n\t\t<ol>\n\t\t\t<li>{{ props.lorem }}</li>\n\t\t\t<li>{{ props.loremIpsum }}</li>\n\t\t</ol>\n\t</LocalScope>\n</template>\n```\n\nWith Full Type Completion\n\n<img width=\"397\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7e38ec79-815c-455f-bec7-5e777114e3b0\">\n\n> [!NOTE]  \n> Can be used in JSX but types are not infered\n","readmeFilename":"README.md"}