Automic VaultAutomic Vault

brew

Installer duktape avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de duktape pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install duktape

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install duktape

MacPorts ports tree · devel/duktape/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add duktape

Alpine Linux edge package indexes · duktape · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install duktape

Debian stable package indexes · duktape · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install duktape

Fedora Rawhide package metadata · duktape · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#duktape

nixpkgs package indexes · pkgs/by-name/du/duktape/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S duktape

Arch Linux sync databases · duktape · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install duktape-devel

openSUSE Tumbleweed package metadata · duktape-devel · Source: download.opensuse.org

aperçu

Résumé du paquet

Embeddable Javascript engine with compact footprint

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2013: 0.6.0 alpha released with first public API work.
  • 2014: 1.0.0 released as the stable baseline.
  • 2015: 1.2.0 added debugger and script-timeout support; 1.3.0 added typed arrays and duk_config.h.
  • 2016: 1.5.0 added low-memory and debugger improvements; 1.6.0 added suspend/resume.
  • 2017: 2.0.0 released with buffers, ES2015 improvements, performance, and footprint work.
  • 2018: 2.3.0 included ES2015 improvements.
  • 2019: 2.5.0 added CBOR support and other improvements.
  • 2022: 2.7.0 released as a maintenance-focused 2.x release.

Related projects

  • QuickJS, MuJS, JerryScript, Espruino, v7, tiny-js, and quad-wheel are listed by Duktape as similar engines for compact or embeddable JavaScript use cases.
  • V8 and SpiderMonkey are larger JavaScript engines that are often unsuitable when Duktape's compact single-source embedding model is the requirement.
  • Lua is a frequent embedded-scripting comparison point, and the Duktape guide explicitly includes a comparison-to-Lua section.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 13 plateformes.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
dukcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-25
version du gestionnaire2.7.0
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/svaarala/duktape

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:duktape
Version2.7.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/duktape
Page d'accueilhttps://duktape.org
Dépôthttps://github.com/svaarala/duktape
Docs amonthttps://duktape.org/api.html
LicenceMIT
Archive sourcehttps://github.com/svaarala/duktape/releases/download/v2.7.0/duktape-2.7.0.tar.xz
Bouteilledisponible (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 Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameduktape
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

duktape 2.7.0-2+b2

embeddable Javascript engine

https://duktape.org

sudo apt install duktape
  • Section: interpreters
  • Architecture: amd64
  • Source Package: duktape
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duktape from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

duktape-dev 2.7.0-2+b2

embeddable Javascript engine, development files

https://duktape.org

sudo apt install duktape-dev
  • Section: interpreters
  • Architecture: amd64
  • Source Package: duktape
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duktape-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libduktape207 2.7.0-2+b2

embeddable Javascript engine, library

https://duktape.org

sudo apt install libduktape207
  • Section: libs
  • Architecture: amd64
  • Source Package: duktape
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libduktape207 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

duktape

nix profile install nixpkgs#duktape
  • normalized package name match
  • Correspondance par : Duktape
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/duktape/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

duktape 2.7.0+tests-0ubuntu3

embeddable Javascript engine

https://duktape.org

sudo apt install duktape
  • Section: universe/interpreters
  • Architecture: amd64
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duktape from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

duktape-dev 2.7.0+tests-0ubuntu3

embeddable Javascript engine, development files

https://duktape.org

sudo apt install duktape-dev
  • Section: interpreters
  • Architecture: amd64
  • Source Package: duktape
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duktape-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libduktape207 2.7.0+tests-0ubuntu3

embeddable Javascript engine, library

https://duktape.org

sudo apt install libduktape207
  • Section: libs
  • Architecture: amd64
  • Source Package: duktape
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libduktape207 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

duktape 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint

https://duktape.org

sudo apk add duktape
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-dbg 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (debug symbols)

https://duktape.org

sudo apk add duktape-dbg
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-dev 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (development files)

https://duktape.org

sudo apk add duktape-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-doc 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (documentation)

https://duktape.org

sudo apk add duktape-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • normalized package name match
  • Correspondance par : Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-libs 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (libraries)

https://duktape.org

sudo apk add duktape-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

duktape 2.7.0-11.fc44

Embeddable Javascript engine

http://duktape.org/

sudo dnf install duktape
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: duktape
  • 4 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Duktape
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duktape from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

duktape-devel 2.7.0-11.fc44

Development files for duktape

http://duktape.org/

sudo dnf install duktape-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: duktape
  • 4 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Duktape
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duktape-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

duktape 2.7.0-7

Embeddable Javascript engine

https://duktape.org/

sudo pacman -S duktape
  • License: MIT
  • Architecture: x86_64
  • 1 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Duktape
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: duktape from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

duktape-devel 2.7.0-3.7

Development files for duktape

https://duktape.org/

sudo zypper install duktape-devel
  • License: MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: duktape
  • 2 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Duktape
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: duktape-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment