Prompts.js

A lightweight JavaScript library for creating modal dialogs with alert, confirm, and prompt functionalities.

await Prompts.alert("This is an alert message!");
const resultBoolean = await Prompts.confirm("Do you want to proceed?");
const name = await Prompts.prompt("What is your name?");