UNPKG
shh-ssh
Version:
latest (1.5.0)
1.5.0
1.0.0
I kept typing shh instead of ssh
github.com/zaccolley/shh
zaccolley/shh
shh-ssh
/
app.js
14 lines
(11 loc)
•
238 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env node
var
keypress =
require
(
'keypress'
);
keypress
(process.
stdin
);
require
(
'./shh'
)(
function
(
){
return
true
; },
function
(
){
console
.
log
(
'done'
); }); process.
stdin
.
on
(
'keypress'
,
function
(
){ process.
exit
(); });