deno.land / x / esm@v135_2 / server / embed / polyfills / node_readline.js
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748// https://nodejs.org/api/readline.html
function panic() { throw new Error( `[esm.sh] "node:readline" is not supported in browser environment.`, );}
export class Interface { constructor() { panic(); }}
export function clearLine() { panic();}
export function clearScreenDown() { panic();}
export function createInterface() { return new Interface();}
export function cursorTo() { panic();}
export function emitKeypressEvents() { panic();}
export function moveCursor() { panic();}
export default { Interface, clearLine, clearScreenDown, createInterface, cursorTo, emitKeypressEvents, moveCursor,};
Version Info