https://github.com/perongh/deno-input
Fix full-width input issue with built-in prompt()
https://github.com/perongh/deno-input
Last synced: about 2 months ago
JSON representation
Fix full-width input issue with built-in prompt()
- Host: GitHub
- URL: https://github.com/perongh/deno-input
- Owner: PeronGH
- Created: 2023-03-25T15:35:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-26T04:36:23.000Z (about 2 years ago)
- Last Synced: 2025-01-19T09:42:20.901Z (4 months ago)
- Language: TypeScript
- Homepage: https://deno.land/x/deno_input_fix
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deno-input
Fix full-width input issue with built-in `prompt()`
## usage
```typescript
import { lines } from "./mod.ts";const { value: nextLine } = await lines.next();
// do something with `nextLine`for await (const line of lines) {
// do something with `line`
}
```