{"id":15044270,"url":"https://github.com/xan105/node-powerballoon","last_synced_at":"2026-02-23T23:15:42.622Z","repository":{"id":43416337,"uuid":"239204820","full_name":"xan105/node-powerballoon","owner":"xan105","description":"Windows balloon notification using PowerShell.","archived":false,"fork":false,"pushed_at":"2024-05-10T15:36:04.000Z","size":108,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T16:16:51.103Z","etag":null,"topics":["balloon","nodejs","notification","powershell","windows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xan105.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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":{"patreon":"xan105","custom":"https://www.paypal.me/xan105"}},"created_at":"2020-02-08T21:10:23.000Z","updated_at":"2024-10-30T09:30:25.000Z","dependencies_parsed_at":"2024-05-12T11:15:33.032Z","dependency_job_id":null,"html_url":"https://github.com/xan105/node-powerballoon","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"47c2aded992f13ad1decc48395de9ddaf7722a1c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-powerballoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-powerballoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-powerballoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-powerballoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xan105","download_url":"https://codeload.github.com/xan105/node-powerballoon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241288959,"owners_count":19938980,"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":["balloon","nodejs","notification","powershell","windows"],"created_at":"2024-09-24T20:50:21.955Z","updated_at":"2026-02-23T23:15:37.585Z","avatar_url":"https://github.com/xan105.png","language":"JavaScript","funding_links":["https://patreon.com/xan105","https://www.paypal.me/xan105"],"categories":[],"sub_categories":[],"readme":"About\n=====\n\nWindows balloon notification using PowerShell.\u003cbr /\u003e\nDoesn't use any native module. Everything is done through PowerShell.\u003cbr /\u003e\n\nLooking for Windows toast notification ? [node-powertoast](https://github.com/xan105/node-powertoast)\n\nExample\n=======\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"left\"\u003e\u003cimg src=\"https://github.com/xan105/node-powerballoon/raw/master/screenshot/win7.png\"\u003e\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\u003cimg src=\"https://github.com/xan105/node-powerballoon/raw/master/screenshot/win10.png\"\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003eWindows 7\u003c/td\u003e\n\u003ctd align=\"center\"\u003eWindows 10\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\nSending a simple balloon notification\n\n```js \nimport balloon from 'powerballoon';\n\nballoon({\n  title: \"NPM\",\n  message: \"Installed.\",\n  ico: \"C:\\\\Program Files\\\\nodejs\\\\node.exe\",\n  showTime: 7,\n  callback: {\n    onActivated: ()=\u003e{\n      console.log(\"clicked\");\n    },\n    onDismissed: ()=\u003e{\n      console.log(\"closed\");\n    }\n  }\n})\n.then(()=\u003e{\n  console.log(\"done\");\n})\n.catch((err) =\u003e { \n  console.error(err);\n});\n```\n\nInstallation\n============\n\n```\nnpm install powerballoon\n```\n\nAPI\n===\n\n⚠️ This module is only available as an ECMAScript module (ESM) starting with version 2.0.0.\u003cbr /\u003e\nPrevious version(s) are CommonJS (CJS) with an ESM wrapper.\n\n## Default export\n\n#### `(option?: obj): Promise\u003cvoid\u003e`\n\n- **title**\n  \n  The title of your notification\n\n- **message**\n\n  The content message of your notification.\n  This can not be empty !\u003cbr /\u003e\n  Thus _default to \"Hello World !\"_\n\n- **ico**\n\n  Path to the icon shown in the systray.\u003cbr /\u003e\n  Path can target either an .ico file or an .exe.\u003cbr /\u003e\n  _default to the PowerShell executable icon._\n\n- **type**\n\n  + 0 (ℹ️ Info)\n  + 1 (⚠️ Warning)\n  + 2 (❌ Error)\n  \n  This change the icon displayed within the tooltip.\u003cbr /\u003e\n  _default to '0 (Info)'_\n\n- **showTime** \n\n  balloon duration in sec.\u003cbr /\u003e\n  _default to 7._\n  \n  ⚠️ Please note that Windows can dismiss the pop-up before the timeout expires.\n  \n- **callback**\n\n  onActivated() : When the balloon tooltip is clicked.\u003cbr/\u003e\n  onDismissed() : When the balloon tooltip is closed.\n  \nNB: Please note that since v2.0.0. The promise will resolve when the balloon tooltip is done because we need to wait and then clean up the systray.\n\nCommon Issues\n=============\n\n- Windows balloon are disabled\n\n  There is a registry setting that controls whether a balloons can be show or not.\u003cbr /\u003e\n  `HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced`\u003cbr /\u003e\n  DWORD::EnableBalloonTips\n  \n- Powershell is not recognized as an internal or external command [...]\n\n  Powershell needs to be installed.\u003cbr /\u003e\n  Windows 7/Server 2008 R2 are the first Windows versions to come with PowerShell installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxan105%2Fnode-powerballoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxan105%2Fnode-powerballoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxan105%2Fnode-powerballoon/lists"}