# svaarala/duktape

Duktape - embeddable Javascript engine with a focus on portability and compact footprint

Repository: https://github.com/svaarala/duktape
Canonical: https://ross.abutalabs.com/products/duktape
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript-engine, javascript, duktape
Last push: 2024-03-22T16:08:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4616, "days_push": 894, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6209, forks 542 (observed 2026-08-28T04:09:40.025728+00:00)

## What it is
Duktape is an embeddable JavaScript (ECMAScript E5/E5.1 with partial ES2015+) engine written in C, focused on portability and a compact footprint. It integrates into C/C++ projects by adding a few source files and using its API to call JavaScript from C and vice versa.

## Use cases
- embed a JavaScript scripting engine in a C/C++ application
- add user scripting/plugin support to an embedded device
- run ECMAScript in a low-memory environment
- evaluate JavaScript from C code without Node.js
- script game or IoT device logic in JavaScript

## When to choose
- you need a small, portable JS engine with minimal platform dependencies
- you want easy C/C++ integration with just a few source files
- you target embedded or resource-constrained platforms
- you need ES5 compliance with coroutines, Proxy subset, and bytecode dump/load

## When to avoid
- you need full modern ES2015+/ES2020+ support
- you need maximum JavaScript execution performance (V8/JavaScriptCore are faster)
- you want a standalone JavaScript runtime rather than an embeddable engine
- you need active feature development (project is in maintenance mode)

## Facets
- artifact type: library
- maturity: maintenance
- function: interpreter, programming-language, embedded
- domain: programming-languages, embedded-systems, developer-tools
- platform: cpp, c, cross-platform, embedded
- tags: javascript-engine, ecmascript, embeddable, compact-footprint, scripting

## Member repositories
- svaarala/duktape (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:40.025728+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:18.294198+00:00, confidence not recorded.
  - readme: https://github.com/svaarala/duktape (fetched 2026-08-28T04:09:40.025728+00:00, sha ea2d642a7208)
- Data as of 2026-08-30T08:39:29.467469+00:00.
