{"_id":"@anil-labs/dnd","_rev":"2-4cad62368ee20e140b5dc26720032a48","name":"@anil-labs/dnd","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@anil-labs/dnd","version":"0.1.0","keywords":["vue","vue3","drag-and-drop","dnd","sortable","draggable","list","reorder"],"author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","license":"MIT","_id":"@anil-labs/dnd@0.1.0","maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"homepage":"https://github.com/anilkumarthakur60/vue-dnd/tree/main/packages/vue#readme","bugs":"https://github.com/anilkumarthakur60/vue-dnd/issues","dist":{"shasum":"45b668ba086e58682e35fad9cb6d498bf0188dc3","tarball":"https://registry.npmjs.org/@anil-labs/dnd/-/dnd-0.1.0.tgz","fileCount":9,"integrity":"sha512-3NFY1Iv+bexzTb0t+byFAU42s5oH/pcTJFk0/S1y2Pi82PEH3U6tE8V586GclIK4weCu7cO7rhc2zHnXDf8Xhw==","signatures":[{"sig":"MEQCIFMMRzC0GEU63bfit7YnVPjpLAnNyciUEhL6l6PCGQ0yAiA2LMMeiBQifMOYQeiVyQm/kF9UCFGmYPprFXZ/gc3iKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88572},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"},"repository":{"url":"git+https://github.com/anilkumarthakur60/vue-dnd.git","type":"git","directory":"packages/vue"},"description":"Vue 3 bindings for @anil-labs/dnd-core — the <Draggable> component and useDraggable composable for sortable lists, cross-list groups, multi-drag and keyboard a11y.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"@anil-labs/dnd-core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.13","tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.7.2","@vue/test-utils":"^2.4.10"},"peerDependencies":{"vue":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dnd_0.1.0_1784134694243_0.13947116002050586","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@anil-labs/dnd","version":"0.1.1","description":"Vue 3 bindings for @anil-labs/dnd-core — the <Draggable> component and useDraggable composable for sortable lists, cross-list groups, multi-drag and keyboard a11y.","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"sideEffects":false,"keywords":["vue","vue3","drag-and-drop","dnd","sortable","draggable","list","reorder"],"engines":{"node":">=18"},"license":"MIT","author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","repository":{"type":"git","url":"git+https://github.com/anilkumarthakur60/dnd.git","directory":"packages/vue"},"homepage":"https://github.com/anilkumarthakur60/dnd/tree/main/packages/vue#readme","bugs":"https://github.com/anilkumarthakur60/dnd/issues","publishConfig":{"access":"public"},"dependencies":{"@anil-labs/dnd-core":"^0.1.1"},"peerDependencies":{"vue":"^3.3.0"},"devDependencies":{"@vue/test-utils":"^2.4.10","jsdom":"^25.0.1","tsup":"^8.3.5","typescript":"^5.7.2","vitest":"^2.1.8","vue":"^3.5.13"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit"},"_nodeVersion":"24.18.0","_id":"@anil-labs/dnd@0.1.1","dist":{"integrity":"sha512-J090feUzQXRTWWvdBOJQ4Hh3fVZQ1ZNbltCI9/2Iyd9MY1SWGuVxBNartHyJ1PJXRpSXY/QNh/Dqzd2VbFgfiQ==","shasum":"5e4596a9961dc97bd91cd1ff32bcf0839570c669","tarball":"https://registry.npmjs.org/@anil-labs/dnd/-/dnd-0.1.1.tgz","fileCount":9,"unpackedSize":88556,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD4IqFCPyWoDIUuZp3N8Qfciw7uRofLnooPnKv+DXqmfAIhAIKjcLzgD7K2jPcrH8cYd+eBSmtpqm+kVqeMrSttDmwL"}]},"_npmUser":{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"},"directories":{},"maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dnd_0.1.1_1784262976311_0.2886742797417101"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T16:58:14.086Z","modified":"2026-07-17T04:36:16.635Z","0.1.0":"2026-07-15T16:58:14.384Z","0.1.1":"2026-07-17T04:36:16.490Z"},"bugs":"https://github.com/anilkumarthakur60/dnd/issues","author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","license":"MIT","homepage":"https://github.com/anilkumarthakur60/dnd/tree/main/packages/vue#readme","keywords":["vue","vue3","drag-and-drop","dnd","sortable","draggable","list","reorder"],"repository":{"type":"git","url":"git+https://github.com/anilkumarthakur60/dnd.git","directory":"packages/vue"},"description":"Vue 3 bindings for @anil-labs/dnd-core — the <Draggable> component and useDraggable composable for sortable lists, cross-list groups, multi-drag and keyboard a11y.","maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"readme":"# @anil-labs/dnd\n\nVue 3 bindings for [`@anil-labs/dnd-core`](https://www.npmjs.com/package/@anil-labs/dnd-core) — zero-dependency drag & drop with groups, clone, multi-drag, swap and keyboard a11y.\n\n```vue\n<script setup>\nimport { ref } from 'vue'\nimport { Draggable } from '@anil-labs/dnd'\nimport '@anil-labs/dnd-core/styles.css'\n\nconst items = ref([{ id: 1, text: 'Apple' }, { id: 2, text: 'Banana' }])\n</script>\n\n<template>\n  <Draggable v-model=\"items\" item-key=\"id\" :animation=\"200\" group=\"tasks\">\n    <template #item=\"{ element }\">\n      <div class=\"card\">{{ element.text }}</div>\n    </template>\n  </Draggable>\n</template>\n```\n\nAlso ships the headless `useDraggable(items, options)` composable and the `DndPlugin` global registration.\n\n- **[Documentation](https://anilkumarthakur60.github.io/dnd/frameworks/vue)** · **[Live demo](https://anil-labs-dnd.vercel.app/vue/)**\n\nMIT © Er. Anil Kumar Thakur\n","readmeFilename":""}