https://github.com/artegoser/easy-readline
https://github.com/artegoser/easy-readline
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/artegoser/easy-readline
- Owner: artegoser
- License: mit
- Created: 2021-07-26T10:34:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-26T10:37:28.000Z (almost 4 years ago)
- Last Synced: 2024-08-10T10:51:44.651Z (10 months ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# easy-readline
Easily enter data through the console.```js
let {Readline} = require("easy-readline");let sr = new Readline();
test();async function test() {
console.log(await sr.input("text", "Doctor who?: "))
console.log(await sr.input("secure", "password: "))
sr.close()
}
```