News for hackers. Stuff that matters.
Re:<dialog>: The Dialog Element by simonw on Saturday December 07, 2024 @05:32PM (#42353371)
I improved this (by porting it to the dialog.showModal() API, relevant to this post) and shipped it to NPM as a package called prompts-js.

Code here: https://github.com/simonw/prompts-js

Blog writeup: https://simonwillison.net/2024/Dec/7/prompts-js/

There are no comments on this comment yet.