deno.land / x / esm@v135_2 / server / embed / polyfills / node_readline.js

node_readline.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// 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,};
esm

Version Info

Tagged at
a year ago