# bootboxjs/bootbox

Wrappers for JavaScript alert(), confirm() and other flexible dialogs using Twitter's bootstrap framework

Repository: https://github.com/bootboxjs/bootbox
Canonical: https://ross.abutalabs.com/products/bootbox
Homepage: http://bootboxjs.com
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2026-08-21T14:15:25+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 40, longevity 100
- inputs: {"age_days": 5415, "days_push": 12, "days_rel": 466, "gap_med": 16, "n_releases_24m": 4}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5019, forks 1023 (observed 2026-08-28T04:09:04.754264+00:00)

## What it is
Bootbox.js is a small JavaScript library that wraps Bootstrap modals to provide programmatic alert(), confirm(), prompt(), and custom dialog boxes without manual DOM or event handler management. It mimics native JavaScript dialogs while using Bootstrap's styling and a callback-based API.

## Use cases
- show styled alert dialogs instead of native alert()
- ask users for confirmation before destructive actions
- collect user input with a prompt dialog
- build custom flexible modal dialogs with Bootstrap styling
- replace verbose Bootstrap modal markup with one-line calls
- localize dialog button text with built-in locales

## When to choose
- you already use Bootstrap and jQuery and want easy modal dialogs
- you want native-dialog-like alert/confirm/prompt with nicer styling
- you need programmatic dialogs without writing modal markup and event wiring

## When to avoid
- your project does not use Bootstrap or jQuery
- you need thread-blocking dialogs like native confirm()
- you use a modern component framework with its own modal system (e.g., React, Vue)

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: bootstrap, modals, dialogs, jquery, alert, confirm, prompt, nodejs

## Member repositories
- bootboxjs/bootbox (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.754264+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:30.521418+00:00, confidence not recorded.
  - readme: https://github.com/bootboxjs/bootbox (fetched 2026-08-28T04:09:04.754264+00:00, sha 2179ed5840ec)
  - homepage: http://bootboxjs.com (fetched 2026-08-29T08:58:32.430235+00:00, sha 17448d445c45)
  - site_page: https://bootboxjs.com/getting-started (fetched 2026-08-29T08:58:32.440021+00:00, sha 0faab8f14d87)
  - site_page: https://bootboxjs.com/documentation (fetched 2026-08-29T08:58:32.442294+00:00, sha f525d67492de)
  - registry_npm: https://registry.npmjs.org/bootbox (fetched 2026-08-29T08:58:32.446539+00:00, sha 307e0973b9cf)
  - site_page: https://bootboxjs.com/faq (fetched 2026-08-29T08:58:32.444632+00:00, sha 773b26a0c2aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
