{"id":21083185,"url":"https://github.com/zhoukekestar/toast","last_synced_at":"2025-03-14T04:44:51.188Z","repository":{"id":83127636,"uuid":"93489817","full_name":"zhoukekestar/toast","owner":"zhoukekestar","description":"Toast, a simple, lightweight, no-dependencies toast.","archived":false,"fork":false,"pushed_at":"2017-06-06T08:36:05.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T23:48:05.224Z","etag":null,"topics":["js","toast","web"],"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/zhoukekestar.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":"2017-06-06T07:35:27.000Z","updated_at":"2017-06-06T08:32:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"21a882c1-64c7-4ab9-b289-c58250023afb","html_url":"https://github.com/zhoukekestar/toast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoukekestar%2Ftoast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoukekestar%2Ftoast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoukekestar%2Ftoast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhoukekestar%2Ftoast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhoukekestar","download_url":"https://codeload.github.com/zhoukekestar/toast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526855,"owners_count":20305112,"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":["js","toast","web"],"created_at":"2024-11-19T20:16:45.604Z","updated_at":"2025-03-14T04:44:51.180Z","avatar_url":"https://github.com/zhoukekestar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toast\nToast, a simple, lightweight, no-dependencies toast.\n\n# API\n\n## `toast(message)`\ntoast a message with default params.\n\n## `toast(options)`\n  * `options` : `Object`\n    * `text` : `String` Message to toast\n    * `time` : `Number` The time to show toast message\n    * `width` : `Number` Toast width\n\n## `toast.defaults = options`\n  * `options` : `Object`\n    * `text` : `String` Message to toast\n    * `time` : `Number` The time to show toast message\n    * `width` : `Number` Toast width\n\n# Online Demo\n* [Toast with polyfill](https://zhoukekestar.github.io/toast/test/index.html)\n* [Toast on latest Chrome. Try ES6/7!](https://zhoukekestar.github.io/toast/test/chrome.html)\n\n  ```js\n  async function () {\n    await toast('wait for me!');\n    alert('yeah!');\n  }\n  ```\n\n# Browser Compatibility\n| IE 7, 8 | IE 9 | IE 10+, Chrome, Firefox ...|\n| -- | -- | -- |\n| No animation! ![IE7](./assets/IE7.png) | No animation! ![IE7](./assets/IE9.png) | ![IE7](./assets/IE10.gif) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhoukekestar%2Ftoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhoukekestar%2Ftoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhoukekestar%2Ftoast/lists"}