{"id":15013300,"url":"https://github.com/trychlos/pwix-bootbox","last_synced_at":"2026-01-24T17:01:17.600Z","repository":{"id":91959465,"uuid":"594475413","full_name":"trychlos/pwix-bootbox","owner":"trychlos","description":"Bootstrap-based alert() and confirm() dialogs, so a client-only Meteor package","archived":false,"fork":false,"pushed_at":"2024-10-04T13:07:36.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T04:44:03.143Z","etag":null,"topics":["alert","bootstrap","confirm","meteor"],"latest_commit_sha":null,"homepage":"","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/trychlos.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-28T17:06:55.000Z","updated_at":"2024-10-04T13:07:38.000Z","dependencies_parsed_at":"2025-04-12T04:41:28.800Z","dependency_job_id":"af297cf9-f4a1-4593-bf37-7b9ce01bee0e","html_url":"https://github.com/trychlos/pwix-bootbox","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/trychlos/pwix-bootbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trychlos%2Fpwix-bootbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trychlos%2Fpwix-bootbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trychlos%2Fpwix-bootbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trychlos%2Fpwix-bootbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trychlos","download_url":"https://codeload.github.com/trychlos/pwix-bootbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trychlos%2Fpwix-bootbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28732216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"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","confirm","meteor"],"created_at":"2024-09-24T19:44:03.203Z","updated_at":"2026-01-24T17:01:17.583Z","avatar_url":"https://github.com/trychlos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pwix:bootbox\n\n## What is it ?\n\nA thin package for Meteor which encapsulates the creation and the display of modal dialogs:\n\n- either as an `alert` dialog, which just display a message and waits for an aknowledgement of the user,\n\n- or a `confirm` dialog, which waits for a Yes|No decision of the user.\n\nThanks to the [pwix:modal](https://github.com/trychlos/pwix-modal/) package, the dialogs are draggable, and can be moved by the user.\n\n## Usage\n\n```\n    import { Bootbox } from 'meteor/pwix:bootbox';\n\n    alert()\n\n        Bootbox.alert( message );\n\n            no title\n            btn: OK\n\n        or\n\n        Bootbox.alert({\n            title: title,\n            message: message,\n            btn: text,\n            cb: cb\n        });\n\n    confirm()\n\n        Bootbox.confirm( message, ( res ) =\u003e {\n            res = true|false\n        });\n\n            no title\n            btns:\n                Cancel  -\u003e false\n                OK      -\u003e true\n\n        or\n\n        Bootbox.confirm({\n            title: title,\n            message: message,\n            btn_true: text,\n            btn_false: text\n        }, ( res ) =\u003e {\n            res = true|false\n        });\n\n        or\n\n        Bootbox.confirm({\n            title: title,\n            message: message,\n            btns_family: Bootbox.C.Family.YESNO | Bootbox.C.Family.OKCANCEL | Bootbox.C.Family.OKCLOSE\n        }, ( res ) =\u003e {\n            res = true|false\n        });\n```\n\nNote that provided arguments are directly passed to `Modal.run()` method. You may so configure the opened modal as you want. See the `pwix:modal` documentation.\n\n## Configuration\n\nNone at the moment.\n\n## NPM peer dependencies\n\nStarting with v 1.1.0, and in accordance with advices from [the Meteor Guide](https://guide.meteor.com/writing-atmosphere-packages.html#peer-npm-dependencies), we no more hardcode NPM dependencies in the `Npm.depends` clause of the `package.js`. \n\nInstead we check npm versions of installed packages at runtime, on server startup, in development environment.\n\nDependencies as of v 1.5.0:\n```\n    'lodash': '^4.17.21'\n```\n\nEach of these dependencies should be installed at application level:\n```\n    meteor npm install \u003cpackage\u003e --save\n```\n\n## Translations\n\nNew and updated translations are willingly accepted, and more than welcome. Just be kind enough to submit a PR on the [Github repository](https://github.com/trychlos/pwix-bootbox/pulls).\n\n---\nP. Wieser\n- Last updated on 2024, Oct. 4th\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrychlos%2Fpwix-bootbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrychlos%2Fpwix-bootbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrychlos%2Fpwix-bootbox/lists"}