Github Repo | C Header | C source | JS source |
---|---|---|---|
mongoose-os-libs/mjs | mos_mjs.h |
This library brings an mJS: restricted JavaScript-like Engine.
Apart from adding the mJS itself, the library creates a global instance of it
(available via mgos_mjs_get_global()
), and also brings a number of
mgos-specific API files, see fs
directory.
mJS wrapper API.
struct mjs *mgos_mjs_get_global(void);
edit this docReturn global mJS instance.