{"id":26539803,"url":"https://github.com/mmycin/notifier-mycin","last_synced_at":"2026-02-25T11:36:53.862Z","repository":{"id":279957229,"uuid":"940593240","full_name":"mmycin/notifier-mycin","owner":"mmycin","description":"Notifier-Mycin is a lightweight, customizable, and easy-to-use notification toast library built with Toastify-js and designed to work seamlessly with Bun. It allows you to display beautiful, animated notifications (toasts) in your web applications with minimal setup.","archived":false,"fork":false,"pushed_at":"2025-12-06T08:47:15.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-10T02:11:41.216Z","etag":null,"topics":["bun","jest","jsx","notifier","npm-package","react","toastify","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/notifier-mycin","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/mmycin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-28T13:00:29.000Z","updated_at":"2025-12-06T08:47:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddc57ef7-48c9-4fa0-b87d-31bfddb28658","html_url":"https://github.com/mmycin/notifier-mycin","commit_stats":null,"previous_names":["mmycin/notifier-mycin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmycin/notifier-mycin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmycin%2Fnotifier-mycin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmycin%2Fnotifier-mycin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmycin%2Fnotifier-mycin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmycin%2Fnotifier-mycin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmycin","download_url":"https://codeload.github.com/mmycin/notifier-mycin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmycin%2Fnotifier-mycin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29819417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"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":["bun","jest","jsx","notifier","npm-package","react","toastify","typescript"],"created_at":"2025-03-22T00:19:03.102Z","updated_at":"2026-02-25T11:36:53.857Z","avatar_url":"https://github.com/mmycin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notifier-Mycin\n\nA lightweight, highly customizable notification toast library built with Toastify-js.\n\n[![npm version](https://img.shields.io/npm/v/notifier-mycin.svg)](https://www.npmjs.com/package/notifier-mycin)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue)](https://www.typescriptlang.org/)\n\n## 🚀 Features\n- **Simple \u0026 Intuitive API** – Easily create notifications with minimal code.\n- **Fully Customizable** – Modify themes, styles, positions, durations, and more.\n- **Flexible Positioning** – Display notifications in any corner of the screen.\n- **Auto-Dismiss \u0026 Manual Control** – Set durations or manually dismiss notifications.\n- **Real-time Updates** – Update existing notifications dynamically.\n- **React Hooks Support** – Seamless integration with React applications.\n- **TypeScript Ready** – Fully typed with robust definitions.\n\n## 📦 Installation\nInstall via npm or yarn:\n\n```bash\nnpm install notifier-mycin\n```\n\nor\n\n```bash\nyarn add notifier-mycin\n```\n\n## 🚀 Usage\n\n### Basic Example\n```typescript\nimport Notify from 'notifier-mycin';\n\n// Show a success notification\nNotify.success('Operation successful!');\n\n// Show an error notification\nNotify.error('Something went wrong.');\n```\n\n### Customizing Notifications\nEnhance your notifications by passing custom options:\n\n```typescript\nimport Notify from 'notifier-mycin';\n\nconst options = {\n  duration: 5000, // Duration in milliseconds\n  position: { x: 'left', y: 'top' }, // Position on screen\n  theme: 'dark', // Theme variant\n  style: 'solid', // Style type\n  className: 'my-custom-class', // Custom CSS class\n  icon: 'info-circle', // Icon\n  iconColor: 'blue', // Icon color\n  title: 'Notification Title', // Title\n  message: 'Detailed message text' // Message content\n};\n\nNotify.success('Success message', options);\n```\n\n### React Hook Usage\nIf using React, leverage the `useNotify` hook for cleaner integration:\n\n```typescript\nimport { useNotify } from 'notifier-mycin';\n\nfunction MyComponent() {\n  const notify = useNotify();\n\n  const handleClick = () =\u003e {\n    notify.success('Success message');\n  };\n\n  return \u003cbutton onClick={handleClick}\u003eShow Notification\u003c/button\u003e;\n}\n```\n\n### Updating \u0026 Dismissing Notifications\nModify or remove notifications dynamically:\n\n```typescript\nimport Notify from 'notifier-mycin';\n\nconst notification = Notify.success('Initial message');\n\n// Update the notification\nNotify.update(notification.id, { message: 'Updated message' });\n\n// Dismiss the notification\nNotify.dismiss(notification.id);\n```\n\n### Dismissing All Notifications\nClear all active notifications with a single call:\n\n```typescript\nimport Notify from 'notifier-mycin';\n\nNotify.success('Message 1');\nNotify.success('Message 2');\n\nNotify.dismissAll();\n```\n\n### Setting Default Options\nConfigure global default settings for all notifications:\n\n```typescript\nimport Notify from 'notifier-mycin';\n\nNotify.setDefaults({\n  duration: 5000,\n  position: { x: 'left', y: 'top' },\n  theme: 'dark',\n  style: 'solid',\n  className: 'my-custom-class',\n  icon: 'info-circle',\n  iconColor: 'blue',\n  title: 'Notification Title',\n  message: 'Notification Message'\n});\n```\n\n## 💡 Contributing\nContributions are welcome! If you encounter a bug or have a feature request, please open an issue or submit a pull request.\n\n## 📜 License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## 📬 Contact\nFor questions or support, feel free to reach out:\n📧 [mycin.mit@gmail.com](mailto:mycin.mit@gmail.com)\n\n---\n\nStart using **Notifier-Mycin** today and enhance your notifications effortlessly! 🚀\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmycin%2Fnotifier-mycin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmycin%2Fnotifier-mycin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmycin%2Fnotifier-mycin/lists"}