{"id":15020171,"url":"https://github.com/kejunmao/unplugin-notifier","last_synced_at":"2026-01-22T10:34:41.127Z","repository":{"id":195812530,"uuid":"693575381","full_name":"KeJunMao/unplugin-notifier","owner":"KeJunMao","description":"Send native notifications when an error occurs in a bundle build","archived":false,"fork":false,"pushed_at":"2023-09-21T02:24:33.000Z","size":876,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T14:49:55.664Z","etag":null,"topics":["node-notifier","notifications","unplugin"],"latest_commit_sha":null,"homepage":"","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/KeJunMao.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-09-19T09:49:03.000Z","updated_at":"2023-10-08T07:45:17.000Z","dependencies_parsed_at":"2025-02-14T09:36:49.683Z","dependency_job_id":"1784a12f-0f4e-4f31-aa2a-0d4f8e4b941e","html_url":"https://github.com/KeJunMao/unplugin-notifier","commit_stats":null,"previous_names":["kejunmao/unplugin-notifier"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/KeJunMao/unplugin-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeJunMao%2Funplugin-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeJunMao%2Funplugin-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeJunMao%2Funplugin-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeJunMao%2Funplugin-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KeJunMao","download_url":"https://codeload.github.com/KeJunMao/unplugin-notifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeJunMao%2Funplugin-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28661874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["node-notifier","notifications","unplugin"],"created_at":"2024-09-24T19:54:40.684Z","updated_at":"2026-01-22T10:34:41.107Z","avatar_url":"https://github.com/KeJunMao.png","language":"TypeScript","readme":"\u003cimg src=\"rawAssets/logo.svg\" alt=\"logo\" width=\"100\" height=\"100\" align=\"right\" /\u003e\n\n# unplugin-notifier\n\nSend native notifications when an error occurs in a bundler build, Powered by [unplugin](https://github.com/KeJunMao/unplugin-compression) and [node-notifier](https://github.com/mikaelbr/node-notifier/).\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![License][license-src]][license-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n\nEnglish | [简体中文](./README.zh-cn.md)\n\n## Preview\n\n\u003cdetails\u003e\n\u003csummary\u003eWindows\u003c/summary\u003e\u003cbr\u003e\n\n![Windows Preview](screenshot/windows.png)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eMacOS\u003c/summary\u003e\u003cbr\u003e\n\n![MacOS Preview](screenshot/macos.png)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eLinux\u003c/summary\u003e\u003cbr\u003e\n\n![Linux Preview](screenshot/linux.png)\n\n\u003cbr\u003e\u003c/details\u003e\n\n## Install\n\n```bash\nnpm i unplugin-notifier\n```\n\nCheck the `node-notifier` [requirements](https://github.com/mikaelbr/node-notifier#requirements) whether you need to install any additional tools for your OS.\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vite.config.ts\nimport Notifier from 'unplugin-notifier/vite'\n\nexport default defineConfig({\n  plugins: [\n    Notifier({ /* options */ }),\n  ],\n})\n```\n\nExample: [`playground/`](./playground/)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rollup.config.js\nimport Notifier from 'unplugin-notifier/rollup'\n\nexport default {\n  plugins: [\n    Notifier({ /* options */ }),\n  ],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// webpack.config.js\nmodule.exports = {\n  /* ... */\n  plugins: [\n    require('unplugin-notifier/webpack')({ /* options */ })\n  ]\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eNuxt\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// nuxt.config.js\nexport default defineNuxtConfig({\n  modules: [\n    ['unplugin-notifier/nuxt', { /* options */ }],\n  ],\n})\n```\n\n\u003e This module works for both Nuxt 2 and [Nuxt Vite](https://github.com/nuxt/vite)\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVue CLI\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vue.config.js\nmodule.exports = {\n  configureWebpack: {\n    plugins: [\n      require('unplugin-notifier/webpack')({ /* options */ }),\n    ],\n  },\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eesbuild\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// esbuild.config.js\nimport { build } from 'esbuild'\nimport Notifier from 'unplugin-notifier/esbuild'\n\nbuild({\n  plugins: [Notifier()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRspack (⚠️ experimental)\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rspack.config.js\nmodule.exports = {\n  plugins: [\n    require('unplugin-notifier/rspack')({ /* options */ }),\n  ],\n}\n```\n\u003cbr\u003e\u003c/details\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/unplugin-notifier?style=flat\u0026colorA=18181B\u0026colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/unplugin-notifier\n[npm-downloads-src]: https://img.shields.io/npm/dm/unplugin-notifier?style=flat\u0026colorA=18181B\u0026colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/unplugin-notifier\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/unplugin-notifier?style=flat\u0026colorA=18181B\u0026colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=unplugin-notifier\n[license-src]: https://img.shields.io/github/license/kejunmao/unplugin-notifier.svg?style=flat\u0026colorA=18181B\u0026colorB=F0DB4F\n[license-href]: https://github.com/kejunmao/unplugin-notifier/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsDocs.io-reference-18181B?style=flat\u0026colorA=18181B\u0026colorB=F0DB4F\n[jsdocs-href]: https://www.jsdocs.io/package/unplugin-notifier\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkejunmao%2Funplugin-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkejunmao%2Funplugin-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkejunmao%2Funplugin-notifier/lists"}