UNPKG
homey
Version:
beta (4.0.10)
latest (4.2.0)
4.2.0
4.1.1
4.1.0
4.0.11
4.0.10
4.0.9
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.12.2
3.12.1
3.12.0
3.11.0
3.10.1
3.10.0
3.9.8
3.9.7
3.9.6
3.9.5
3.9.4
3.9.3
3.9.2
3.9.1
3.9.0
3.8.4
3.8.3
3.8.2
3.8.1
3.8.0
3.7.15
3.7.14
3.7.13
3.7.12
3.7.11
3.7.10
3.7.9
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.3
3.6.2
3.6.1
3.6.0
3.5.6
3.5.5
3.5.4
3.5.3
3.5.2
3.5.1
3.5.0
3.4.0
3.3.1
3.3.0
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0-rc.5
3.0.0-rc.4
3.0.0-rc.3
3.0.0-rc.2
3.0.0-rc.1
2.34.0
2.33.14
2.33.13
2.33.12
2.33.11
2.33.10
2.33.9
2.33.8
2.33.7
2.33.6
2.33.5
2.33.4
2.33.3
2.33.2
2.33.1
2.33.0
2.32.0
2.31.1
2.31.0
2.30.10
2.30.9
2.30.8
2.30.7
2.30.6
2.30.5
2.30.4
2.30.3
2.30.2
2.30.1
2.30.0
2.29.0
2.28.3
2.28.2
2.28.1
2.28.0
2.27.0
2.26.1
2.26.0
2.25.1
2.24.0
2.23.7
2.23.6
2.23.5
2.23.4
2.23.3
2.23.2
2.23.1
2.23.0
2.22.6
2.22.5
2.22.4
2.22.3
2.22.2
2.22.1
2.22.0
2.21.0
2.20.6
2.20.5
2.20.4
2.20.3
2.20.2
2.20.1
2.20.0
2.19.4
2.19.3
2.19.2
2.19.1
2.19.0
2.18.0
2.17.2
2.17.1
2.17.0
2.16.0
2.15.2
2.15.1
2.15.0
2.14.2
2.14.1
2.14.0
2.13.1
2.13.0
2.12.4
2.12.3
2.12.2
2.12.1
2.12.0
2.11.0
2.10.1
2.10.0
2.9.7
2.9.6
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.0
2.7.3
2.7.2
2.7.1
2.7.0
2.6.2
2.6.1
2.6.0
2.5.2
2.5.1
2.5.0
2.4.0
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
0.1.0-beta.13
0.1.0-beta.12
0.1.0-beta.11
0.1.0-beta.10
0.1.0-beta.9
0.1.0-beta.8
0.1.0-beta.7
0.1.0-beta.6
0.1.0-beta.5
0.1.0-beta.4
0.1.0-beta.3
0.1.0-beta.2
0.1.0-beta.1
0.1.0-beta.0
Command-line interface and type declarations for Homey Apps
github.com/athombv/node-homey
homey
/
assets
/
templates
/
app
/
app.js
15 lines
(10 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
const
Homey
=
require
(
'homey'
);
module
.
exports
=
class
MyApp
extends
Homey.App
{
/** * onInit is called when the app is initialized. */
async
onInit
(
) {
this
.
log
(
'MyApp has been initialized'
); } };