{"_id":"@daltonr/notifywrite-vue","_rev":"2-7e4611fedb90780a1e4af18349c62173","name":"@daltonr/notifywrite-vue","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.0":{"name":"@daltonr/notifywrite-vue","version":"0.2.0","_id":"@daltonr/notifywrite-vue@0.2.0","maintainers":[{"name":"richardadalton","email":"richard@devjoy.com"}],"dist":{"shasum":"c6a1b637e36eed71656a04ede3fe5d682dade5e5","tarball":"https://registry.npmjs.org/@daltonr/notifywrite-vue/-/notifywrite-vue-0.2.0.tgz","fileCount":7,"integrity":"sha512-KSsFqJwM2SCjQtk06bUazmfF3aTUJzk21H+b1/cLtYgc6V/5ylSmMz1Wd3+rM5dBFDA0+qYCqAhKT+SInpcH9w==","signatures":[{"sig":"MEQCIAMrqoTmJywaI8S/ZytIKOerkr+UdSSNL3NgrD0S6iIFAiBKPa7j6ikRrv2zOFfx9d0vCsbze9GUYZeOfxPythL3/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15262},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5cf4271fcaabe298ccb050d0575d9050cf18406d","scripts":{"test":"vitest run","build":"tsup src/index.ts --format esm,cjs --dts --clean","typecheck":"tsc --noEmit"},"_npmUser":{"name":"richardadalton","email":"richard@devjoy.com"},"_npmVersion":"10.9.3","description":"Vue adapter for @daltonr/notifywrite","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vue":"^3.0.0","tsup":"^8.0.0","vitest":"^4.1.9","happy-dom":"^14.0.0","typescript":"^5.5.0","@vue/test-utils":"^2.0.0","@daltonr/notifywrite":"file:../.."},"peerDependencies":{"vue":">=3","@daltonr/notifywrite":"*"},"_npmOperationalInternal":{"tmp":"tmp/notifywrite-vue_0.2.0_1783076096979_0.8611252114259988","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@daltonr/notifywrite-vue","version":"0.3.0","type":"module","description":"Vue adapter for @daltonr/notifywrite","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean","test":"vitest run","typecheck":"tsc --noEmit"},"peerDependencies":{"vue":">=3","@daltonr/notifywrite":"^0.3.0"},"devDependencies":{"@daltonr/notifywrite":"^0.3.0","@vue/test-utils":"^2.0.0","happy-dom":"^14.0.0","tsup":"^8.0.0","typescript":"^5.5.0","vue":"^3.0.0","vitest":"^4.1.9"},"license":"MIT","author":{"name":"Richard Dalton","email":"richard.a.dalton@gmail.com"},"homepage":"https://github.com/richardadalton/notifywrite#readme","repository":{"type":"git","url":"git+https://github.com/richardadalton/notifywrite.git","directory":"packages/vue-adapter"},"bugs":{"url":"https://github.com/richardadalton/notifywrite/issues"},"keywords":["notifications","toast","headless","vue","composable"],"_id":"@daltonr/notifywrite-vue@0.3.0","gitHead":"c4591f969b7de942ec3aeb820b3bcc57172a6d98","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-LJf3YtwvzGnu5EFZdZWfSPElIPqHm5dZUOW1xfMVE7brdQfSajpFMHr2ZbE2gGwJOzs9yH7N/cUq9Tra0tX4Jw==","shasum":"73522ec0049ec0831f76e3fff5d8c27a025e2a88","tarball":"https://registry.npmjs.org/@daltonr/notifywrite-vue/-/notifywrite-vue-0.3.0.tgz","fileCount":9,"unpackedSize":20703,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFmdkAi5YdhqdlTmPa+A62ShITppd8lLNgaPfjgamLaFAiBHpfDW/Ozqi94rfaORYeUqcnHdUFj75Yv2A5RbH0hHAA=="}]},"_npmUser":{"name":"richardadalton","email":"richard@devjoy.com"},"directories":{},"maintainers":[{"name":"richardadalton","email":"richard@devjoy.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/notifywrite-vue_0.3.0_1783577328923_0.8589473176004743"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-03T10:54:56.843Z","modified":"2026-07-09T06:08:49.230Z","0.2.0":"2026-07-03T10:54:57.095Z","0.3.0":"2026-07-09T06:08:49.098Z"},"description":"Vue adapter for @daltonr/notifywrite","maintainers":[{"name":"richardadalton","email":"richard@devjoy.com"}],"readme":"# @daltonr/notifywrite-vue\n\nVue 3 adapter for [@daltonr/notifywrite](https://github.com/richardadalton/notifywrite) — composables over the headless notification engine. State is a readonly `computed`; the engine is `markRaw`-ed so Vue never proxies it.\n\n```bash\nnpm install @daltonr/notifywrite @daltonr/notifywrite-vue\n```\n\n```vue\n<script setup>\nimport { NotificationEngine } from \"@daltonr/notifywrite\";\nimport { provideNotifications, useNotifications } from \"@daltonr/notifywrite-vue\";\n\nconst engine = new NotificationEngine({ order: \"newest-first\" });\nprovideNotifications(engine); // descendants call injectNotifications()\nconst { notifications, add, dismiss } = useNotifications(engine);\n</script>\n\n<template>\n  <div v-for=\"n in notifications\" :key=\"n.id\" @click=\"dismiss(n.id)\">{{ n.message }}</div>\n</template>\n```\n\nSee the [project README](https://github.com/richardadalton/notifywrite) for the full engine API.\n\nMIT © Richard Dalton\n","readmeFilename":"README.md","homepage":"https://github.com/richardadalton/notifywrite#readme","keywords":["notifications","toast","headless","vue","composable"],"repository":{"type":"git","url":"git+https://github.com/richardadalton/notifywrite.git","directory":"packages/vue-adapter"},"author":{"name":"Richard Dalton","email":"richard.a.dalton@gmail.com"},"bugs":{"url":"https://github.com/richardadalton/notifywrite/issues"},"license":"MIT"}