UNPKG
node-gtk-windows
Version:
latest (0.11.0)
0.11.0
GNOME Gtk+ bindings for NodeJS
github.com/romgrk/node-gtk
dminikm/node-gtk-windows
node-gtk-windows
/
scripts
/
list-available-modules.js
15 lines
(11 loc)
•
262 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* * list-available-modules.js */
const
gi =
require
(
'..'
)
const
util =
require
(
'util'
) util.
inspect
.
defaultOptions
= {
maxArrayLength
:
Infinity
,
colors
:
true
,
depth
:
3
} gi.
listAvailableModules
().
then
(
console
.
log
,
console
.
error
)