{"id":18656992,"url":"https://github.com/devstack-be/devstack-notify","last_synced_at":"2026-04-04T22:32:08.133Z","repository":{"id":294584950,"uuid":"796058077","full_name":"devstack-be/devstack-notify","owner":"devstack-be","description":"A headless Vue 3 notification library to use with Tailwind CSS.","archived":false,"fork":false,"pushed_at":"2026-03-06T21:40:34.000Z","size":415,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-07T01:23:40.135Z","etag":null,"topics":["composition-api","notifications","nuxt","tailwind","tailwindcss","toast","typescript","vue","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devstack-be.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-04T20:07:41.000Z","updated_at":"2026-03-06T21:40:38.000Z","dependencies_parsed_at":"2025-05-21T05:36:34.431Z","dependency_job_id":"eff5b89f-5e51-48cd-a290-b29cb9d752e1","html_url":"https://github.com/devstack-be/devstack-notify","commit_stats":null,"previous_names":["devstack-be/devstack-notify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devstack-be/devstack-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devstack-be%2Fdevstack-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devstack-be%2Fdevstack-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devstack-be%2Fdevstack-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devstack-be%2Fdevstack-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devstack-be","download_url":"https://codeload.github.com/devstack-be/devstack-notify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devstack-be%2Fdevstack-notify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composition-api","notifications","nuxt","tailwind","tailwindcss","toast","typescript","vue","vuejs"],"created_at":"2024-11-07T07:26:08.026Z","updated_at":"2026-04-04T22:32:08.126Z","avatar_url":"https://github.com/devstack-be.png","language":"Vue","readme":"\n# Devstack Notify - Vue 3 \u0026 Tailwind CSS\n[![NPM](https://flat.badgen.net/npm/v/devstack-notify)](https://www.npmjs.com/package/devstack-notify) [![Vue 3](https://img.shields.io/badge/Vue-3-green)](https://img.shields.io/badge/Vue-3-green)\n\nHeadless Vue 3 notification library with Tailwind CSS.\n\nInspired by [NuxtUI Notifications](https://ui.nuxt.com/)\n![Screenshot of a notification (1)](https://github.com/devstack-be/devstack-notify/blob/main/playground/public/teasing_1.png)\n![Screenshot of a notification (2)](https://github.com/devstack-be/devstack-notify/blob/main/playground/public/teasing_2.png)\n![Screenshot of a notification (3)](https://github.com/devstack-be/devstack-notify/blob/main/playground/public/teasing_3.png)\n\n## 🌟 Features\n\n- Vue 3 composition API support\n- Fully written in Typescript\n- Light and beautiful\n- Easy to install and personnalisable\n- Timeout, callback, actions\n\n## 🤖 Demo\n\n[Live Preview - coming soon]()\n\n## ⚡️ Installation\n\n```bash\nyarn add devstack-notify\n```\n\nor\n\n```bash\nnpm i devstack-notify\n```\n\n### Setup\n\nThis package requires Pinia. Install it and register both in your app:\n\n```js\nimport { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport Notifications from 'devstack-notify'\nimport App from './App.vue'\n\nconst app = createApp(App)\n\napp.use(createPinia())\napp.use(Notifications())\n\napp.mount('#app')\n```\n\n### Tailwind CSS 4 Configuration\n\n⚠️ **Important**: Add this line to your main CSS file:\n\n```css\n/* src/app.css or src/index.css */\n@import \"tailwindcss\";\n\n@source \"../../node_modules/devstack-notify\";\n```\n\nSee [TAILWIND.md](./TAILWIND.md) for more details.\n\n## 🍞 How to use\n\nAdd the \"StackNotifications\" components to your main layout or in `App.vue`:\n\n```vue\n\u003cStackNotifications /\u003e\n```\n\nThen, trigger notifications from your `.vue` files:\n\n###### Composition API\n\n```javascript\nimport { useToast } from \"devstack-notify\"\n\ntoast.add({\n   title: 'No type specified', \n   description: 'Small description' \n})\ntoast.success({\n   title: 'Success', \n   description: 'Small description' \n})\ntoast.error({\n   title: 'Error', \n   description: 'Small description' \n})\ntoast.warning({\n   title: 'Warning', \n   description: 'Small description' \n})\ntoast.info({\n   title: 'Info', \n   description: 'Small description' \n})\n```\n\n## TypeScript Support\n\nAll types are exported from the package:\n\n```typescript\nimport type { \n  Notification, \n  NotificationAction, \n  NotificationColor,\n  Config \n} from 'devstack-notify'\n\n// Use types in your code\nconst notification: Partial\u003cNotification\u003e = {\n  title: 'Hello',\n  color: 'blue',\n  timeout: 3000\n}\n\ntoast.add(notification)\n```\n\n## 📚 Documentation\n\n- **[Complete Examples](./EXAMPLES.md)** - Detailed usage examples and patterns\n- **[Best Practices](./BEST-PRACTICES.md)** - Recommended patterns and guidelines  \n- **[Tailwind Configuration](./TAILWIND.md)** - Required Tailwind CSS setup\n- **[Migration Guide](./MIGRATION.md)** - Upgrading from previous versions\n- **[Changelog](./CHANGELOG.md)** - Version history and changes\n\n## Props\n\n* To do\n\n## To do\n\n* Complete documentation\n* Tests\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevstack-be%2Fdevstack-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevstack-be%2Fdevstack-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevstack-be%2Fdevstack-notify/lists"}