Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/workerd/dialog.ts>prompt

A JavaScript extension package for building strong and modern applications.
Latest
function prompt
import { prompt } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/dialog.ts";

Parameters

message: string
optional
defaultValue: string | undefined

Returns

Promise<string | null>

Parameters

message: string
optional
options: PromptOptions

Returns

Promise<string | null>