Compare that to the code you’d have to write without Bootbox:
Each of these three functions calls a fourth public function which you too can use to create your own custom dialogs:
Documentation is available for each of these functions, including the options available for each dialog. You can also find examples for using each of these functions in the (appropriately named) Examples page.
Visit the Getting Started page for guidance on how to add Bootbox to your project.
There are some caveats to using Bootbox dialogs in place of native dialogs. Please see the Known Limitations section in the Documentation page to learn more.
Bootbox is authored and maintained by Nick Payne (@makeusabrew). Thanks are also due to the contributors!
Bootbox is a free, open source project. As such you can help out in a number of ways from simply raising an issue to forking the project and submitting a pull request.
I’m particularly keen to improve the examples and make a proper start on the API docs, so pull requests contributing towards the gh-pages branch (which you’re looking at!) are extremely welcome.
Lastly — please just help spread the word!