Prompts.js
A new JavaScript library called Prompts.js offers async alternatives to browser alert(), confirm(), and prompt() functions. Using await, developers can create user-friendly modal dialogs that pause execution until the user responds. The library uses the element for improved accessibility and automatic screen dimming. Available on npm as prompts-js, it can be easily integrated via CDN. The project demonstrates how...