{"id":21565112,"url":"https://github.com/cfware/dialog","last_synced_at":"2025-03-18T05:17:26.127Z","repository":{"id":57101012,"uuid":"298839460","full_name":"cfware/dialog","owner":"cfware","description":"Dialog overlays","archived":false,"fork":false,"pushed_at":"2023-10-17T03:47:16.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T19:45:50.393Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cfware.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":"2020-09-26T15:07:39.000Z","updated_at":"2023-10-17T03:45:45.000Z","dependencies_parsed_at":"2025-01-24T11:43:54.330Z","dependency_job_id":"0968419b-6e71-4c01-82cb-070ff2dc9700","html_url":"https://github.com/cfware/dialog","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fdialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fdialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fdialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fdialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfware","download_url":"https://codeload.github.com/cfware/dialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244160055,"owners_count":20408021,"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":[],"created_at":"2024-11-24T10:18:28.194Z","updated_at":"2025-03-18T05:17:26.103Z","avatar_url":"https://github.com/cfware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @cfware/dialog [![NPM Version][npm-image]][npm-url]\n\nDialog overlays\n\n## Usage\n\n```js\nimport {html} from '@cfware/shadow-element';\nimport {dialogAlert, dialogConfirm} '@cfware/dialog';\n\nasync function showAlert() {\n\tawait dialogAlert('Title', html`\u003cdiv\u003ehtml tagged template\u003c/div\u003e`);\n\tconsole.log('dialog closed');\n}\n\nasync function showConfirm() {\n\tconst result = await dialogConfirm('Continue', html`\u003cdiv\u003eDecide\u003c/div\u003e`);\n\tconsole.log(result ? 'confirmed' : 'canceled');\n}\n\n```\n\n[npm-image]: https://img.shields.io/npm/v/@cfware/dialog.svg\n[npm-url]: https://npmjs.org/package/@cfware/dialog\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fdialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfware%2Fdialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fdialog/lists"}