Add JavaScript scripting capability to an IoT device or microcontroller with very limited RAM.
Embed a lightweight JavaScript interpreter into a C application using JerryScript's C API.
Precompile JavaScript files to bytecode snapshots so they load faster on resource-constrained hardware.
Prototype embedded device logic in JavaScript instead of C while staying within tight memory limits.
Building for embedded targets requires a cross-compilation toolchain for ARM, not a typical install-and-run.
JerryScript is a JavaScript engine built for very small, resource-constrained devices such as microcontrollers. Most JavaScript engines -- like the ones inside Chrome or Firefox -- require a meaningful amount of RAM to operate. JerryScript is designed to run on devices with less than 64 KB of RAM and less than 200 KB of flash storage, which makes it practical for Internet of Things hardware: sensors, tiny embedded boards, and similar devices where memory is measured in kilobytes rather than gigabytes. The engine fully implements the ECMAScript 5.1 JavaScript standard and covers roughly 70% of the more recent ECMAScript 2025 standard. It is written in C99, a version of the C language chosen for broad compatibility across processor architectures. When compiled for ARM processors (a common chip family in embedded devices), the binary comes to about 258 KB. It also supports snapshots: a way to precompile JavaScript source files into bytecode so they start faster on a device. Developers who want to add JavaScript scripting to their own embedded applications can embed JerryScript using its C API. The project includes extensive documentation covering configuration options, the full API reference, debugging tools, the module system, and a migration guide for upgrades. Building from source requires cloning the repository and running a Python build script. JerryScript is open source under the Apache 2.0 license and is maintained by the JS Foundation and its contributors. A mailing list and GitHub wiki provide additional support and reference material.
← jerryscript-project on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.