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();
@Aifer started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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();