Mjs
Visit ToolmJS is an embedded JavaScript engine for C/C++ that is designed for microcontrollers with limited resources. It implements a strict subset of ES6, focusing on a small footprint and simple C/C++ interoperability.
At a glance
Trending
mJS is an embedded JavaScript engine for C/C++ that is designed for microcontrollers with limited resources. It implements a strict subset of ES6, focusing on a small footprint and simple C/C++ interoperability.
Trending
About
mJS is an embedded JavaScript engine specifically engineered for microcontrollers and other resource-constrained environments. It implements a strict subset of ES6 (JavaScript version 6), ensuring that any valid mJS code is also valid ES6 code, though not vice-versa due to its intentional restrictions. Key design goals include a small memory footprint, requiring approximately 50KB of flash and less than 1KB of RAM on 32-bit ARM systems. It offers seamless C/C++ interoperability through a Foreign Function Interface (FFI), allowing direct calls to existing C functions and supporting callbacks. The engine is part of MongooseOS, enabling scripting for IoT devices. It provides built-in APIs for JSON parsing, string manipulation, and memory management, along with a helper for converting C structs to JS objects.
Capabilities
Pricing & Plans
Open Source
Free
FAQs
Trending