{"id":16931340,"url":"https://github.com/danielperez9430/esbuild-os-notifier","last_synced_at":"2025-04-11T18:33:31.761Z","repository":{"id":60216919,"uuid":"540913688","full_name":"danielperez9430/esbuild-os-notifier","owner":"danielperez9430","description":"Esbuild plugin for receive OS notification when your build finish","archived":false,"fork":false,"pushed_at":"2024-08-19T13:41:39.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T05:04:20.805Z","etag":null,"topics":["esbuild","esbuild-plugin","hacktoberfest","nodejs","notifications"],"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/danielperez9430.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}},"created_at":"2022-09-24T17:37:07.000Z","updated_at":"2024-08-19T13:41:43.000Z","dependencies_parsed_at":"2024-08-19T10:03:14.076Z","dependency_job_id":"c8d42ba5-7531-4535-93ff-a7889068bc58","html_url":"https://github.com/danielperez9430/esbuild-os-notifier","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"4de234395d69c1dc1a417b3e8d1e7d1178eb7103"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperez9430%2Fesbuild-os-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperez9430%2Fesbuild-os-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperez9430%2Fesbuild-os-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielperez9430%2Fesbuild-os-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielperez9430","download_url":"https://codeload.github.com/danielperez9430/esbuild-os-notifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248459033,"owners_count":21107208,"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":["esbuild","esbuild-plugin","hacktoberfest","nodejs","notifications"],"created_at":"2024-10-13T20:43:46.020Z","updated_at":"2025-04-11T18:33:31.723Z","avatar_url":"https://github.com/danielperez9430.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esbuild-os-notifier\n\n[![NPM Version](https://img.shields.io/npm/v/esbuild-os-notifier)](https://www.npmjs.com/package/esbuild-os-notifier)\n[![NPM Downloads](https://img.shields.io/npm/dm/esbuild-os-notifier)](https://www.npmjs.com/package/esbuild-os-notifier)\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/esbuild-os-notifier)\n\nEsbuild plugin for receive OS notification when your build finish, have an error or a warning\n\n## 📦 Install \n\u003e yarn add dev esbuild-os-notifier\n\nor\n\n\u003e npm i -D esbuild-os-notifier\n\n## 🚀 Usage\n\nAdd it to your esbuild plugins list:\n\n```js\n// ESM example with import\nimport { build } from 'esbuild'\nimport esbuildOsNotifier from 'esbuild-os-notifier'\n\nbuild({\n  ...\n  plugins: [\n    esbuildOsNotifier()\n  ]\n  ...\n});\n\n```\n\n```js\n// CommonJs example with require\nconst esbuild = require(\"esbuild\");\nconst esbuildOsNotifier = require('esbuild-os-notifier')\n\nesbuild.build({\n  ...\n  plugins: [\n    esbuildOsNotifier()\n  ]\n  ...\n});\n```\n\n## Options\nYou can add your own custom configuration of options to esbuildOsNotifier\n\n```js\nesbuildOsNotifier({\n    // Options from \"node_notifier\"\n    contentImage: '' // Path to png image (Recomend 300x300px) for display in the notification\n    sound: true, // Only Notification Center or Windows Toasters (true/false)\n    timeout: 5000, // Time (in milliseconds) to clear the notifications\n  }, \n  {\n    // Show or disable notifications for error, warnings or sucess\n    warnings: false,\n    errors: true,\n    success: true\n  });\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielperez9430%2Fesbuild-os-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielperez9430%2Fesbuild-os-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielperez9430%2Fesbuild-os-notifier/lists"}