Thank you, Gordon.
"type" : "library" , for a built-in module as a library,
and in JS code: var m = require('yourmodule');
"type" : "class" , for a built-in module as a Object,
and in JS code: yourmodule.method();
© Espruino, powered by microcosm.
Report a problem