macOS
brew install duktapelocal Homebrew formula metadata
sudo port install duktapeMacPorts ports tree · devel/duktape/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de duktape pour les workflows d'agents IA.
installation
brew install duktapelocal Homebrew formula metadata
sudo port install duktapeMacPorts ports tree · devel/duktape/Portfile · Source: api.github.com
sudo apk add duktapeAlpine Linux edge package indexes · duktape · Source: dl-cdn.alpinelinux.org
sudo apt install duktapeDebian stable package indexes · duktape · Source: deb.debian.org
sudo dnf install duktapeFedora Rawhide package metadata · duktape · Source: dl.fedoraproject.org
nix profile install nixpkgs#duktapenixpkgs package indexes · pkgs/by-name/du/duktape/package.nix · Source: api.github.com
sudo pacman -S duktapeArch Linux sync databases · duktape · Source: geo.mirror.pkgbuild.com
sudo zypper install duktape-developenSUSE Tumbleweed package metadata · duktape-devel · Source: download.opensuse.org
aperçu
Embeddable Javascript engine with compact footprint
historique
Duktape is an embeddable ECMAScript engine for C and C++ programs, designed around portability, compact footprint, and simple integration by adding the distributable C and header files to an application build. It is one of the better-known small JavaScript engines used when V8 or SpiderMonkey are too large or too embedding-heavy.
Duktape's public release archive starts in September 2013 with alpha releases focused on the public API, portability, and ES5.1 behavior. Version 1.0.0 arrived on October 26, 2014 as the stable baseline release.
The 1.x series added low-memory improvements, debugger support, typed arrays, duk_config.h, module.exports behavior, performance work, suspend/resume support, and continued maintenance. These releases established Duktape as a compact embeddable runtime rather than a browser engine.
Duktape 2.0.0 was released on January 2, 2017 with buffers, ES2015 improvements, performance work, and footprint changes. Later 2.x releases added API improvements, CBOR support, Unicode and portability updates, and maintenance fixes, with 2.7.0 released on February 19, 2022.
The upstream GitHub README notes that the master branch is undergoing incompatible changes for Duktape 3.x and that Duktape 2.x is tracked on the v2-maintenance branch. That split reflects a mature runtime balancing maintenance users with future internal changes.
Duktape's own site points to projects using it and to Stack Overflow community support, while its package presence spans Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Alpine, Ubuntu, and openSUSE-family packaging. Its GitHub repository also shows thousands of stars and a long development history, which is notable for a small embeddable engine.
Adoption tends to come from applications needing scripting, configuration logic, plugins, tests, or embedded automation in a C or C++ host. The guide emphasizes that Duktape makes few platform assumptions and leaves native bindings under application control, which made it attractive for constrained or custom environments.
Embedding usually means adding duktape.c, duktape.h, and duk_config.h to the host build, creating a heap, and using the C API to call ECMAScript from C or expose C functions to script code. The command-line duk executable is useful for quick testing, but the package's main value is as a library.
Duktape implements ES5/E5.1 with selected later semantics and partial ES2015/ES2016 features. Its feature set includes typed arrays, Node.js Buffer bindings, WHATWG Encoding API bindings, CBOR bindings, a debugger, Unicode support, coroutines, bytecode dump/load, finalization, and low-memory configuration options.
Duktape is significant because it occupies the small-engine end of the JavaScript runtime map. Package maintainers care about it as a portable C library with a permissive license, a stable release archive, and a footprint small enough for embedded systems.
It is also a useful point of comparison against QuickJS, MuJS, JerryScript, Espruino, and v7. Those engines all answer the same broad question - how small and embeddable can JavaScript be - with different tradeoffs around standards coverage, performance, licensing, and host integration.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
duk | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/svaarala/duktape
métadonnées d'installation
| Clé du paquet | brew:duktape |
|---|---|
| Version | 2.7.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/duktape |
| Page d'accueil | https://duktape.org |
| Dépôt | https://github.com/svaarala/duktape |
| Docs amont | https://duktape.org/api.html |
| Licence | MIT |
| Archive source | https://github.com/svaarala/duktape/releases/download/v2.7.0/duktape-2.7.0.tar.xz |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | duktape |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
duktape 2.7.0-2+b2
embeddable Javascript engine
sudo apt install duktapeduktape-dev 2.7.0-2+b2
embeddable Javascript engine, development files
sudo apt install duktape-devlibduktape207 2.7.0-2+b2
embeddable Javascript engine, library
sudo apt install libduktape207duktape
nix profile install nixpkgs#duktapeduktape 2.7.0+tests-0ubuntu3
embeddable Javascript engine
sudo apt install duktapeduktape-dev 2.7.0+tests-0ubuntu3
embeddable Javascript engine, development files
sudo apt install duktape-devlibduktape207 2.7.0+tests-0ubuntu3
embeddable Javascript engine, library
sudo apt install libduktape207duktape 2.7.0-r3
Embeddable Javascript engine with a focus on portability and compact footprint
sudo apk add duktapeduktape-dbg 2.7.0-r3
Embeddable Javascript engine with a focus on portability and compact footprint (debug symbols)
sudo apk add duktape-dbgduktape-dev 2.7.0-r3
Embeddable Javascript engine with a focus on portability and compact footprint (development files)
sudo apk add duktape-devduktape-doc 2.7.0-r3
Embeddable Javascript engine with a focus on portability and compact footprint (documentation)
sudo apk add duktape-docduktape-libs 2.7.0-r3
Embeddable Javascript engine with a focus on portability and compact footprint (libraries)
sudo apk add duktape-libsduktape 2.7.0-11.fc44
Embeddable Javascript engine
sudo dnf install duktapeduktape-devel 2.7.0-11.fc44
Development files for duktape
sudo dnf install duktape-develduktape 2.7.0-7
Embeddable Javascript engine
sudo pacman -S duktapeduktape-devel 2.7.0-3.7
Development files for duktape
sudo zypper install duktape-develpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.