{"id":47618193,"url":"https://github.com/ymlluo/bs5dialog","last_synced_at":"2026-04-01T21:46:13.541Z","repository":{"id":152205189,"uuid":"621234969","full_name":"ymlluo/bs5dialog","owner":"ymlluo","description":"bs5dialog is a library for creating Bootstrap 5 dialogs. It provides a set of components for creating alerts, prompts, confirms, messages, toasts, tabs, spinners, and offcanvas dialogs.","archived":false,"fork":false,"pushed_at":"2025-04-07T02:25:07.000Z","size":908,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-18T18:39:29.938Z","etag":null,"topics":["alert","bootstrap","bootstrap5","confirm","dialog","loading","message","offcanvas","prompt","spinner","toast"],"latest_commit_sha":null,"homepage":"https://ymlluo.github.io/bs5dialog/","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/ymlluo.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":"2023-03-30T08:59:28.000Z","updated_at":"2025-08-01T05:42:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb8ee165-85bd-4ea9-9152-4d95a5ea19b0","html_url":"https://github.com/ymlluo/bs5dialog","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/ymlluo/bs5dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymlluo%2Fbs5dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymlluo%2Fbs5dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymlluo%2Fbs5dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymlluo%2Fbs5dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymlluo","download_url":"https://codeload.github.com/ymlluo/bs5dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymlluo%2Fbs5dialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["alert","bootstrap","bootstrap5","confirm","dialog","loading","message","offcanvas","prompt","spinner","toast"],"created_at":"2026-04-01T21:46:12.841Z","updated_at":"2026-04-01T21:46:13.537Z","avatar_url":"https://github.com/ymlluo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Node.js Package](https://github.com/ymlluo/bs5dialog/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/ymlluo/bs5dialog/actions/workflows/npm-publish.yml)\n[![Version](https://img.shields.io/npm/v/@ymlluo/bs5dialog.svg)](https://www.npmjs.com/package/@ymlluo/bs5dialog)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)\n\n# Introduction\n\nbs5dialog is a library for creating Bootstrap 5 dialogs. It provides a set of components for creating alerts, prompts, confirms, messages, toasts, tabs, loadings, and offcanvas dialogs.\n\n## Demo\n\nHere is a simple demo page, which will be completed later\n### ✨ [Demo](https://ymlluo.github.io/bs5dialog/dist/index.html)\n\n\n---\n\n# Installation\n\nTo install bs5dialog, run the following command:\n\n```\nnpm install @ymlluo/bs5dialog\n```\n\n### CDN via jsDelivr \nSkip the download with jsDelivr to deliver cached version of bs5dialog's compiled CSS and JS to your project.\n\n``` html\n\u003clink href=\"https://cdn.jsdelivr.net/gh/ymlluo/bs5dialog@master/dist/bs5dialog.css\" rel=\"stylesheet\" crossorigin=\"anonymous\"\u003e\n\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/ymlluo/bs5dialog@master/dist/bs5dialog.js\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n\n```\n\n\n# Components\n\n## [Alert](docs/alert.md)\nDisplays an alert modal with the given content and options.\n\n\n## [Confirm](docs/confirm.md)\nDisplays a confirmation modal with the given content and options.\n\n## [Prompt](docs/prompt.md)\nDisplays a prompt dialog with customizable options.\n\n## [Message](docs/message.md)\nDisplays a message with customizable options\n\n## [Loading](docs/loading.md)\nCreates a loading element and appends it to the target element.\n\u003e Tips:You can also use the function alias `showLoading`\n\n## [Toast](docs/toast.md)\nDisplays a toast message with customizable options.\n\n## [Offcanvas](docs/offcanvas.md)\nCreates an offcanvas element with the given content and options.\n\n## [Load](docs/load.md)\n\nLoads content or remote page into a Bootstrap 5 modal dialog with customizable options.supports default dragging, zooming, and maximizing of the modal window.\n\n# Internationalization\n\nbs5dialog includes internationalization support through the i18n module. To use it, import the desired language file:\n\n\n```\nimport { i18n } from 'bs5dialog';\n\n```\n\nThen, set the language using the setLanguage function:\n\n```\nbs5dialog.i18n.setCurrentLang(\"zh\")\n```\n\n\n# Acknowledgments\n\n[twbs/bootstrap](https://github.com/twbs/bootstrap)\n\n[tabler/tabler](https://github.com/tabler/tabler)\n\nA lot of inspiration and styling comes from these great libraries, big thanks to them\n\n\n\n# License \n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymlluo%2Fbs5dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymlluo%2Fbs5dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymlluo%2Fbs5dialog/lists"}