{"id":13438761,"url":"https://github.com/svaarala/duktape","last_synced_at":"2026-10-18T23:11:14.986Z","repository":{"id":13169066,"uuid":"15852088","full_name":"svaarala/duktape","owner":"svaarala","description":"Duktape - embeddable Javascript engine with a focus on portability and compact footprint","archived":false,"fork":false,"pushed_at":"2026-09-04T23:33:27.000Z","size":76140,"stargazers_count":6215,"open_issues_count":474,"forks_count":541,"subscribers_count":154,"default_branch":"master","last_synced_at":"2026-10-02T18:55:19.387Z","etag":null,"topics":["duktape","javascript","javascript-engine"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svaarala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-12T22:16:14.000Z","updated_at":"2026-09-28T08:32:59.000Z","dependencies_parsed_at":"2023-10-13T10:13:10.999Z","dependency_job_id":"a8dc09fa-886d-4867-91b9-636149738018","html_url":"https://github.com/svaarala/duktape","commit_stats":{"total_commits":8190,"total_committers":73,"mean_commits":112.1917808219178,"dds":"0.026617826617826634","last_synced_commit":"37b642d3596fcf122fa502320f7a037a3d3494bd"},"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"purl":"pkg:github/svaarala/duktape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svaarala%2Fduktape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svaarala%2Fduktape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svaarala%2Fduktape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svaarala%2Fduktape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svaarala","download_url":"https://codeload.github.com/svaarala/duktape/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svaarala%2Fduktape/sbom","scorecard":{"id":860828,"data":{"date":"2025-08-11","repo":{"name":"github.com/svaarala/duktape","commit":"50af773b1b32067170786c2b7c661705ec7425d4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":4,"reason":"Found 5/12 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/dist-tag-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/dist-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/release-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/test-workflow.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.7.0 not signed: https://api.github.com/repos/svaarala/duktape/releases/59956451","Warn: release artifact v2.6.0 not signed: https://api.github.com/repos/svaarala/duktape/releases/32530373","Warn: release artifact v2.5.0 not signed: https://api.github.com/repos/svaarala/duktape/releases/21747709","Warn: release artifact v2.4.0 not signed: https://api.github.com/repos/svaarala/duktape/releases/18914355","Warn: release artifact v2.3.0 not signed: https://api.github.com/repos/svaarala/duktape/releases/12256631","Warn: release artifact v2.7.0 does not have provenance: https://api.github.com/repos/svaarala/duktape/releases/59956451","Warn: release artifact v2.6.0 does not have provenance: https://api.github.com/repos/svaarala/duktape/releases/32530373","Warn: release artifact v2.5.0 does not have provenance: https://api.github.com/repos/svaarala/duktape/releases/21747709","Warn: release artifact v2.4.0 does not have provenance: https://api.github.com/repos/svaarala/duktape/releases/18914355","Warn: release artifact v2.3.0 does not have provenance: https://api.github.com/repos/svaarala/duktape/releases/12256631"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-workflow.yaml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/build-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-workflow.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/build-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-workflow.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/build-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-workflow.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/build-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-workflow.yaml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/build-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-tag-workflow.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-tag-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-tag-workflow.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-tag-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-tag-workflow.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-tag-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-tag-workflow.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-tag-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-tag-workflow.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-tag-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-tag-workflow.yaml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-tag-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-workflow.yaml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-workflow.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dist-workflow.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/dist-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-workflow.yaml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/release-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-workflow.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/release-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-workflow.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/release-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yaml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/svaarala/duktape/test-workflow.yaml/master?enable=pin","Warn: containerImage not pinned by hash: docker/duktape-base-ubuntu-18.04-s390x/Dockerfile:8: pin your Docker image by updating s390x/ubuntu:18.04 to s390x/ubuntu:18.04@sha256:d703aed6386f192b5287ed5f79b9548055a59edea4166bbe38cdc1b427b999b8","Warn: containerImage not pinned by hash: docker/duktape-base-ubuntu-18.04-x64/Dockerfile:3: pin your Docker image by updating ubuntu:18.04 to ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98","Warn: containerImage not pinned by hash: docker/duktape-base-ubuntu-20.04-arm64/Dockerfile:3: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: docker/duktape-base-ubuntu-20.04-x64/Dockerfile:3: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: docker/duktape-clang-format/Dockerfile:3: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: docker/duktape-make-ubuntu-18.04-x64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-make-ubuntu-20.04-arm64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-make-ubuntu-20.04-x64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-release-1-ubuntu-18.04-x64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-release-1-ubuntu-20.04-arm64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-release-1-ubuntu-20.04-x64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-shell-ubuntu-18.04-s390x/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-shell-ubuntu-18.04-x64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-shell-ubuntu-20.04-arm64/Dockerfile:1","Warn: containerImage not pinned by hash: docker/duktape-shell-ubuntu-20.04-x64/Dockerfile:1","Warn: downloadThenRun not pinned by hash: docker/duktape-base-ubuntu-18.04-x64/Dockerfile:19-31","Warn: downloadThenRun not pinned by hash: docker/duktape-base-ubuntu-20.04-arm64/Dockerfile:19-30","Warn: downloadThenRun not pinned by hash: docker/duktape-base-ubuntu-20.04-x64/Dockerfile:19-31","Warn: pipCommand not pinned by hash: .github/workflows/build-workflow.yaml:34","Info:   0 out of  25 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 downloadThenRun dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned","Info:   0 out of  15 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-24T01:12:48.809Z","repository_id":13169066,"created_at":"2025-08-24T01:12:48.809Z","updated_at":"2025-08-24T01:12:48.809Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38343411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duktape","javascript","javascript-engine"],"created_at":"2024-07-31T03:01:08.208Z","updated_at":"2026-10-18T23:11:13.324Z","avatar_url":"https://github.com/svaarala.png","language":"JavaScript","funding_links":[],"categories":["📚 项目宗旨","Scripting","JavaScript","正则表达式","Libraries","Language and Tooling"],"sub_categories":["脚本","C","Compilers and Interpreters"],"readme":"Duktape\n=======\n\n[![Build status](https://github.com/svaarala/duktape/workflows/Build/badge.svg?branch=master)](https://github.com/svaarala/duktape/actions)\n[![Test status](https://github.com/svaarala/duktape/workflows/Test/badge.svg?branch=master)](https://github.com/svaarala/duktape/actions)\n\n:warning: **Master branch is undergoing incompatible changes for Duktape 3.x**.\nTo track Duktape 2.x, follow the `v2-maintenance` branch.\n\nIntroduction\n------------\n\n[Duktape](http://duktape.org/) is an **embeddable Javascript** engine,\nwith a focus on **portability** and **compact** footprint.\n\nDuktape is easy to integrate into a C/C++ project: add `duktape.c`,\n`duktape.h`, and `duk_config.h` to your build, and use the Duktape API\nto call ECMAScript functions from C code and vice versa.\n\nMain features:\n\n* Embeddable, portable, compact\n* ECMAScript E5/E5.1 compliant, with some semantics updated from ES2015+\n* Partial support for ECMAScript 2015 (E6) and ECMAScript 2016 (E7),\n  [Post-ES5 feature status](http://wiki.duktape.org/PostEs5Features.html),\n  [kangax/compat-table](https://kangax.github.io/compat-table)\n* ES2015 TypedArray and Node.js Buffer bindings\n* WHATWG Encoding API living standard\n* Built-in debugger\n* Built-in regular expression engine\n* Built-in Unicode support\n* Minimal platform dependencies\n* Combined reference counting and mark-and-sweep garbage collection with finalization\n* Custom features like coroutines\n* Property virtualization using a subset of ECMAScript ES2015 Proxy object\n* Bytecode dump/load for caching compiled functions\n* Distributable includes an optional logging framework, CommonJS-based module\n  loading implementations, CBOR bindings, etc\n* Liberal MIT license (see LICENSE.txt)\n\nSee [duktape.org](http://duktape.org/) for packaged end-user downloads\nand documentation.  The end user downloads are also available from the\n[duktape-releases](https://github.com/svaarala/duktape-releases) repo\nas both binaries and in unpacked form as git tags.\n\nHave fun!\n\nSupport\n-------\n\n* Duktape Wiki: [wiki.duktape.org](http://wiki.duktape.org)\n* User community Q\u0026A: Stack Overflow [duktape](http://stackoverflow.com/questions/tagged/duktape) tag\n* Bugs and feature requests: [GitHub issues](https://github.com/svaarala/duktape/issues)\n* General discussion: IRC `#duktape` on `chat.freenode.net` ([webchat](https://webchat.freenode.net))\n\nAbout this repository\n---------------------\n\nThis repository is **intended for Duktape developers only**, and contains\nDuktape internals: test cases, internal documentation, sources for the\nduktape.org web site, etc.\n\nGetting started: end user\n-------------------------\n\nWhen embedding Duktape in your application you should use the packaged source\ndistributables available from [duktape.org/download.html](http://duktape.org/download.html).\nSee [duktape.org/guide.html#gettingstarted](http://duktape.org/guide.html#gettingstarted)\nfor the basics.\n\nThe distributable `src/` directory contains a `duk_config.h` configuration\nheader and amalgamated sources for Duktape default configuration.  If\nnecessary, use `python tools/configure.py` to create header and sources for\ncustomized configuration options, see http://wiki.duktape.org/Configuring.html.\nFor example, to enable fastint support (example for Linux):\n\n    $ tar xvfJ duktape-2.0.0.tar.xz\n    $ cd duktape-2.0.0\n    $ rm -rf src-custom\n    $ python tools/configure.py \\\n          --source-directory src-input \\\n          --output-directory src-custom \\\n          --config-metadata config \\\n          -DDUK_USE_FASTINT\n\n    # src-custom/ will now contain: duktape.c, duktape.h, duk_config.h.\n\nYou can download and install Duktape using the\n[vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:\n   \n    $ git clone https://github.com/Microsoft/vcpkg.git\n    $ cd vcpkg\n    $ ./bootstrap-vcpkg.sh\n    $ ./vcpkg integrate install\n    $ vcpkg install duktape\n    \nThe Duktape port in vcpkg is kept up to date by Microsoft team members\nand community contributors.  If the version is out of date, please\n[create an issue or pull request](https://github.com/Microsoft/vcpkg) on\nthe vcpkg repository.\n\nYou can also clone this repository, make modifications, and build a source\ndistributable on Linux, macOS, and Windows using `python util/dist.py`.\nYou'll need Python 2 and Python YAML binding.\n\nGetting started: modifying and rebuilding the distributable\n-----------------------------------------------------------\n\nIf you intend to change Duktape internals and want to rebuild the source\ndistributable in Linux, macOS, or Windows:\n\n    # Linux; can often install from packages or using 'pip'\n    # Install Node.js \u003e= 16.x\n    $ sudo apt-get install python python-yaml\n    $ python util/dist.py\n\n    # macOS\n    # Install Python 2.7.x\n    # Install Node.js \u003e= 16.x\n    $ pip install PyYAML\n    $ python util/dist.py\n\n    # Windows\n    ; Install Python 2.7.x from python.org, and add it to PATH\n    ; Install Node.js \u003e= 16.x\n    \u003e pip install PyYAML\n    \u003e python util\\dist.py\n\nThe source distributable directory will be in `dist/`.\n\nFor platform specific notes see http://wiki.duktape.org/DevelopmentSetup.html.\n\nGetting started: other development (Linux only)\n-----------------------------------------------\n\nOther development stuff, such as building the website and running test cases,\nis based on a `Makefile` **supported for Linux x86-64 only**.\n\nThere are some Docker images which can simplify the development setup and also\ndocument the needed packages.  These are also **supported for Linux x86-64 only**.\nFor example:\n\n    # Build Docker images.  This takes a long time.\n    $ make docker-images\n\n    # Equivalent of 'make dist-source', but runs inside a container.\n    $ make docker-dist-source-wd\n\n    # Run a shell with /work/duktape containing a disposable master snapshot.\n    $ make docker-shell-master\n\n    # Run a shell with /work/duktape mounted from current directory.\n    # This allows editing, building, testing, etc with an interactive\n    # shell running in the container.\n    $ make docker-shell-wdmount\n\n    # For non-native images you may need:\n    # https://github.com/multiarch/qemu-user-static\n\nThere is limited support for developing on macOS via Docker.  On Apple M1:\n\n    $ make docker-images-arm64\n    $ DOCKER_ARCH=arm64 make docker-shell-wdmount\n\nBranch policy\n-------------\n\n* The `master` branch is used for active development.  Even though pull requests\n  are tested before merging, master may still be broken from time to time.  When\n  development on a new major release starts, master will also get API\n  incompatible changes without warning.  For these reasons **you should\n  generally not depend on the master branch** for building your project; use\n  a release tag (e.g. `v2.4.0`) or a release maintenance branch\n  (e.g. `v2.4-maintenance` or `v2-maintenance`) instead.\n\n* Pull requests and their related branches are frequently rebased so you\n  should not fork off them.  Pull requests may be open for a while for\n  testing and discussion.\n\n* Release tags like `v1.4.1` are used for releases and match the released\n  distributables.  These are stable once the release is complete.\n\n* Maintenance branches are used for backporting fixes and features for\n  maintenance releases.  Documentation changes go to master for maintenance\n  releases too.  For example, `v1.5-maintenance` was created for the 1.5.0\n  release and is used for 1.5.x maintenance releases.\n\n* A maintenance branch is also created for a major release when master moves\n  on to active development of the next major release.  For example,\n  `v1-maintenance` was created when 1.5.0 was released (last planned 1.x\n  release) and development of 2.0.0 (with API incompatible changes) started\n  on master.  The 1.6.0 and 1.7.0 releases were made from `v1-maintenance`\n  for example.\n\nVersioning\n----------\n\nDuktape uses [Semantic Versioning](http://semver.org/) for official\nreleases.  Builds from Duktape repo are not official releases and don't\nfollow strict semver, mainly because `DUK_VERSION` needs to have some\ncompromise value that won't be strictly semver conforming.\nBecause Duktape tracks the latest ECMAScript specification versions,\ncompliance fixes are made in minor versions even when they are technically\nnot backwards compatible.  See\n[Versioning](http://duktape.org/guide.html#versioning) for details.\n\nReporting bugs\n--------------\n\nSee [CONTRIBUTING.md](https://github.com/svaarala/duktape/blob/master/CONTRIBUTING.md) and [SECURITY.md](https://github.com/svaarala/duktape/blob/master/SECURITY.md).\n\nContributing\n------------\n\nSee [CONTRIBUTING.md](https://github.com/svaarala/duktape/blob/master/CONTRIBUTING.md).\n\nCopyright and license\n---------------------\n\nSee [AUTHORS.rst](https://github.com/svaarala/duktape/blob/master/AUTHORS.rst)\nand [LICENSE.txt](https://github.com/svaarala/duktape/blob/master/LICENSE.txt).\n\n[Duktape Wiki](https://github.com/svaarala/duktape-wiki/) is part of Duktape\ndocumentation and under the same copyright and license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvaarala%2Fduktape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvaarala%2Fduktape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvaarala%2Fduktape/lists"}