UNPKG
community-hubbub
Version:
latest (1.0.0)
1.0.0
client for hubbub community
github.com/hub-up/hubbub-community
hub-up/hubbub-community
community-hubbub
/
lib
/
readline-interface.js
9 lines
(6 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
// Readline
const
readline =
require
(
'readline'
);
const
options = {
input
: process.
stdin
,
output
: process.
stdout
,
prompt
:
'» '
,
terminal
:
false
};
const
rl = readline.
createInterface
(options);
module
.
exports
= rl;