{"id":19568312,"url":"https://github.com/modbender/nuxt-toastify","last_synced_at":"2025-04-27T02:32:59.488Z","repository":{"id":251541995,"uuid":"837709985","full_name":"modbender/nuxt-toastify","owner":"modbender","description":"Wrapper for Vue3 Toastify for easy \u0026 instant Notifications/Toasts in Nuxt 3 App","archived":false,"fork":false,"pushed_at":"2025-01-14T08:21:07.000Z","size":618,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T10:36:12.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/modbender.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},"funding":{"github":["modbender"],"patreon":"modbender","open_collective":null,"ko_fi":"modbender","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"custom":["paypal.me/modbender"]}},"created_at":"2024-08-03T19:33:03.000Z","updated_at":"2025-03-24T12:54:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"4227458d-dc9f-4338-a93c-f16508f3936a","html_url":"https://github.com/modbender/nuxt-toastify","commit_stats":null,"previous_names":["modbender/nuxt-toastify"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-toastify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-toastify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-toastify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-toastify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modbender","download_url":"https://codeload.github.com/modbender/nuxt-toastify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251080744,"owners_count":21533142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-11T06:03:29.763Z","updated_at":"2025-04-27T02:32:58.748Z","avatar_url":"https://github.com/modbender.png","language":"TypeScript","funding_links":["https://github.com/sponsors/modbender","https://patreon.com/modbender","https://ko-fi.com/modbender","paypal.me/modbender"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n   Nuxt Toastify\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.com/package/nuxt-toastify\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/nuxt-toastify/latest.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\" alt=\"Nuxt Toastify - NPM Package\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-toastify\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/nuxt-toastify.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\" alt=\"Nuxt Toastify - NPM Package Downloads\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-toastify\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/nuxt-toastify.svg?style=flat\u0026colorA=020420\u0026\" alt=\"Nuxt Toastify License\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://nuxt.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js\" alt=\"Nuxt Toastify - Nuxt\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Wrapper for Vue3 Toastify for easy \u0026 instant Notifications/Toasts in Nuxt 3 App.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/5574267/130804494-a9d2d69c-f170-4576-b2e1-0bb7f13dd92d.gif\" alt=\"Nuxt Toastify Preview\" /\u003e\n\u003c/p\u003e\n\n-----\n- ✨\u0026nbsp; [Release Notes](/CHANGELOG.md)\n- 🏀\u0026nbsp; [Online Demo](https://vue3-toastify.js-bridge.com/) | [Online Playground](https://stackblitz.com/github/modbender/nuxt-toastify?file=playground%2Fapp.vue)\n- 📖\u0026nbsp; [Documentation](https://vue3-toastify.js-bridge.com/get-started/introduction.html)\n\n## Features\n\n\u003c!-- Highlight some of the features your module provide here --\u003e\n- Beautiful by default\n- Easy to set up for real, you can make it work in less than 10sec!\n- Super easy to customize\n- RTL support\n- You can limit the number of toast displayed at the same time\n- Super easy to use an animation of your choice. Works well with animate.css for example\n- Can display a Vue3 component inside the toast!\n- Has onOpen and onClose hooks. Both can access the props passed to the vue3 component rendered inside the toast\n- Can remove a toast programmatically\n- Define behavior per toast\n- Pause toast when the window loses focus 👁\n- Fancy progress bar to display the remaining time\n- Possibility to update a toast\n- support dangerously html string render (default: false).\n- Dark mode 🌒, automatic detection for system dark mode (html.dark)\n- Colored theme\n- Promise support\n- And much more !\n\n## Quick Setup\n\n1. Install the module to your Nuxt application with one command:\n   \n    ```bash\n    npx nuxi module add nuxt-toastify\n    ```\n\n2. While the module is zero config, if you want to override configs you can start by adding `toastify` config in `nuxt.config.ts`:\n   \n   ```ts\n    export default defineNuxtConfig({\n      modules: ['nuxt-toastify'],\n      toastify: {\n        autoClose: 2000,\n        position: 'top-right',\n        theme: 'auto',\n      },\n    })\n   ```\n\n    Refer to [Container Props](https://vue3-toastify.js-bridge.com/api/container.html) for all configs and it's default values.\n\n3. Call `useToastify` in your project to trigger toasts.\n\n    ```xhtml\n    \u003ctemplate\u003e\n      \u003cdiv\u003e\n        \u003cbutton @click=\"testToastify\"\u003eClick me\u003c/button\u003e\n      \u003c/div\u003e\n    \u003c/template\u003e\n\n    \u003cscript setup\u003e\n    function testToastify() {\n      useToastify(\"Wow so easy !\", {\n        autoClose: 1000,\n        position: ToastifyOption.POSITION.TOP_RIGHT,\n      });\n    }\n    \u003c/script\u003e\n    ```\n\n    Refer to [Toast Props](https://vue3-toastify.js-bridge.com/api/toast.html) for all configs and default values to pass to composable `useToastify`.\n\nThat's it! You can now use Nuxt Toastify in your Nuxt app ✨\n\n\n## Contribution\nAny valid pull requests will be accepted. Thank you.\n\n\u003cdetails\u003e\n  \u003csummary\u003eLocal development\u003c/summary\u003e\n  \n  ```bash\n  # Install dependencies\n  npm install\n  \n  # Generate type stubs\n  npm run dev:prepare\n  \n  # Develop with the playground\n  npm run dev\n  \n  # Build the playground\n  npm run dev:build\n  \n  # Run ESLint\n  npm run lint\n  \n  # Run Vitest\n  npm run test\n  npm run test:watch\n  \n  # Release new version\n  npm run release\n  ```\n\n\u003c/details\u003e\n\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-toastify/latest.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\n[npm-version-href]: https://npmjs.com/package/nuxt-toastify\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-toastify.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\n[npm-downloads-href]: https://npmjs.com/package/nuxt-toastify\n\n[license-src]: https://img.shields.io/npm/l/nuxt-toastify.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\n[license-href]: https://npmjs.com/package/nuxt-toastify\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodbender%2Fnuxt-toastify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodbender%2Fnuxt-toastify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodbender%2Fnuxt-toastify/lists"}