{"id":20942296,"url":"https://github.com/odahcam/bootoast","last_synced_at":"2025-04-10T00:19:40.960Z","repository":{"id":47873198,"uuid":"71899447","full_name":"odahcam/bootoast","owner":"odahcam","description":"Toast 🔥 notifications with Bootstrap CSS.","archived":false,"fork":false,"pushed_at":"2024-06-28T20:29:53.000Z","size":225,"stargazers_count":68,"open_issues_count":10,"forks_count":41,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T05:47:05.847Z","etag":null,"topics":["alert-messages","bootstrap","toast-message","toast-notifications","twbs"],"latest_commit_sha":null,"homepage":"https://odahcam.github.io/bootoast/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odahcam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2016-10-25T13:25:09.000Z","updated_at":"2025-03-06T19:01:16.000Z","dependencies_parsed_at":"2024-02-13T21:27:44.284Z","dependency_job_id":"77f4e79a-9c81-4185-9873-9875dc792a12","html_url":"https://github.com/odahcam/bootoast","commit_stats":{"total_commits":57,"total_committers":4,"mean_commits":14.25,"dds":0.5789473684210527,"last_synced_commit":"2abf79836d2f85eec0d88545d0185f3078e1c202"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odahcam%2Fbootoast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odahcam%2Fbootoast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odahcam%2Fbootoast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odahcam%2Fbootoast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odahcam","download_url":"https://codeload.github.com/odahcam/bootoast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247785945,"owners_count":20995645,"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":["alert-messages","bootstrap","toast-message","toast-notifications","twbs"],"created_at":"2024-11-18T23:25:44.419Z","updated_at":"2025-04-10T00:19:40.944Z","avatar_url":"https://github.com/odahcam.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n[![NPM version](https://img.shields.io/npm/v/bootoast.svg?style=flat-square\u0026label=npm)](https://www.npmjs.com/package/bootoast)\n![NPM downloads](https://img.shields.io/npm/dt/bootoast.svg?style=flat-square\u0026label=npm%20downloads)\n[![License](https://img.shields.io/npm/l/qoopido.demand.svg?style=flat-square)](https://github.com/odahcam/bootoast)\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/884fb7b79aa446acaa60b1ff22e5429a)](https://www.codacy.com/app/odahcam/bootoast?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=odahcam/bootoast\u0026amp;utm_campaign=Badge_Grade)\n[![Maintainability](https://api.codeclimate.com/v1/badges/2ebe930bdb2803dbfdbb/maintainability)](https://codeclimate.com/github/odahcam/bootoast/maintainability)\n\n\n# Bootoast 🔥\n\n\u003e A [*Boot*][0]strap T[*oast*][1]er library.\n\u003e \n\u003e Make your toast notifications with **Bootstrap 3 or 4** `alert`s.\n\n\n## [Demo!][3]\n\n\n## Default Settings\n\n```javascript\nbootoast.toast({\n    message: 'Bootoast!',\n    type: 'info',\n    position: 'bottom-center',\n    icon: null,\n    timeout: null,\n    animationDuration: 300,\n    dismissible: true\n});\n```\n\n## Options Settings\n\nTo use your own settings, take the default example above and replace with your values. You can also remove the keys you will not change.\n\nOption | Default Value | Descrition\n:--- | :--- | :---\n`message` | `'Helo!'` | Any, **any**, HTML String!\n`type` | `'info'` | A raw string that can be any of Bootstrap 3 alert type classes without the `alert-` preffix. [Available types](#types).\n`icon` | based on choosen `type` OR `undefined` | An icon following the standard Bootstrap 3 glyphicons name without the `glyphicon-` preffix. [Icons choosen by type](#icon-defaults).\n`position` | `'bottom-center'` | A raw string with two segments of align separated by hypehn follo0wing the pattern: `vertical-horizontal`. [Supported positions](#supported-positions).\n`timeout` | `false` | The time in seconds for hide the notification (`.alert` element). If `false` or `0`, the notification will not auto-hide. \n`dismissible` | `true` | Shows or hides the dismiss \u0026times; button. It can be `true` or `false`.\n`animationDuration` | `300` | The notification hide animation duration in milliseconds (`ms`).\n\n### Supported Types\n\nBy default, Bootoast supports all [Bootstrap 3 alert types][2]:\n\n* info\n* success\n* warning\n* danger\n \n [See more about Bootsrap `alert`s][2].\n \n\n\n### Supported Positions\n\nSupported | Sinonymus\n:---: | :---:\n`top-center` | `top`\n`top-left` | `left-top`\n`top-right` | `right-top`\n`bottom-center` | `bottom`\n`bottom-left` | `left-bottom`\n`bottom-right` | `right-bottom`\n\n\n### Icon Defaults\n\nBy default, if it's not defined, it will turn into an icon choosen by the type:\n\nBootoast type | Bootstrap icon\n:---: | :---:\nwarning | exclamation-sign\nsuccess | ok-sign\ndanger | remove-sign\ninfo | info-sign\n\n\n## Versioning\n\nClosest as possible to semver (Semantic Versioning).\n\n----\n\nGood Luck. :-)\n\n\n[0]: https://getbootstrap.com/docs/3.3/\n[1]: github.com/odahcam/bootoast\n[2]: https://getbootstrap.com/docs/3.3/components/#alerts\n[3]: https://codepen.io/odahcam/full/oeoYxm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodahcam%2Fbootoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodahcam%2Fbootoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodahcam%2Fbootoast/lists"}