UNPKG
holoplay-core
Version:
latest (0.0.11)
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.4
0.0.3
A library that works with Looking Glass HoloPlay Service
holoplay-core
/
examples
/
nodejs
/
main.js
12 lines
(10 loc)
•
305 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
HoloPlayCore
=
require
(
'../../dist/holoplaycore.js'
);
const
client =
new
HoloPlayCore
.
Client
(
(
msg
) =>
{
console
.
log
(
'Calibration loaded'
, msg); process.
exit
(); },
(
err
) =>
{
console
.
error
(
'Error while creating client.'
, err); process.
exit
(); });