UNPKG
hugo
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
Yet another node.js interface for philips hue
github.com/bkw/hugo
bkw/hugo
hugo
/
demos
/
repl.js
13 lines
(8 loc)
•
215 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env node
'use strict'
;
var
repl =
require
(
'repl'
) , bridge =
require
(
'../index'
).
Bridge
() ; bridge.
on
(
'ready'
,
function
(
) { repl.
start
({prompt :
'hue bridge> '
}).
context
.
bridge
= bridge; });