Skip to content
napi-bindings

Search

Search pages, projects and the Node-API reference

Libraries

quickjs-build

QuickJS 2026-06-04 as a static C library, with prebuilt archives for 13 native platforms and WebAssembly.

49 stars5 forks7.0.0· Nov 15, 2026Apache-2.0

2026-11-15 Version 7.0.0, @NickNaso

Notable changes

  • Update QuickJS to version 2026-06-04. The engine now supports most of ES2025: top-level await, WeakRef and FinalizationRegistry, iterator helpers, the Set methods, resizable ArrayBuffer, the RegExp v flag and modifiers, Float16Array, JSON modules with import attributes, Promise.try, Math.sumPrecise and more.
  • The release archives are cross-compiled with zig cc from one Linux runner: 13 native platforms instead of 5, plus WebAssembly (wasm32-wasi and wasm32-emscripten, engine only).
  • New qjs-windows-x86_64-mingw.zip and qjs-windows-x86-mingw.zip archives, built natively on Windows with MinGW-w64 11 (MinGW-Builds GCC 13.2, msvcrt): they link with MinGW-w64 toolchains that cannot link the zig archives, including releases older than 12.
  • The Linux archives no longer depend on the Ubuntu version of the CI runner: they need glibc 2.17 or later (2.27 for RISC-V). Static musl builds are also provided.
  • New CMake options QJS_BUILD_LIBC, QJS_BUILD_TOOLS, QJS_BUILD_SMOKE_TEST and QJSC_EXECUTABLE; new check target that runs the QuickJS tests.
  • New CMake toolchain file toolchains/zig.cmake and build script scripts/build.sh. toolchains/linux_aarch64.cmake and the dependency on qemu to build for arm64 were removed.
  • The CI runs the tests on Linux x86_64, x86, arm64, armv7 and riscv64 and on real Windows and macOS runners, and publishes a SHA256SUMS file with every release.

Breaking changes

QuickJS API

  • The mathematical extensions were removed upstream: CONFIG_BIGNUM, libbf, qjscalc, BigFloat, BigDecimal and operator overloading are gone, together with JS_AddIntrinsicBigFloat, JS_AddIntrinsicBigDecimal, JS_AddIntrinsicOperators, JS_EnableBignumExt, JS_IsBigFloat and JS_IsBigDecimal. BigInt is always available and JS_AddIntrinsicBigInt no longer exists.
  • JS_EVAL_FLAG_STRIP was removed: use JS_SetStripInfo.
  • JS_ResetUncatchableError was removed: use JS_SetUncatchableException.
  • JS_RunModule was removed: use JS_LoadModule.
  • JS_PROP_NO_ADD, JS_VALUE_GET_OBJ and JS_VALUE_GET_STRING were removed from quickjs.h.
  • JS_SetPropertyInternal has an additional this_obj parameter.
  • js_module_loader (quickjs-libc.h) has an additional JSValueConst attributes parameter.
  • The JS_AddIntrinsic* functions, JS_SetConstructor and JS_SetPropertyFunctionList now return int instead of void.

Archives

  • The archives were renamed:

    6.0.0 7.0.0
    qjs-windows.zip qjs-windows-x86_64.zip
    qjs-ubuntu-18_04.zip, qjs-ubuntu-20_04.zip qjs-linux-x86_64.zip
    qjs-linux-arm64.zip qjs-linux-arm64.zip
    qjs-macOS.zip qjs-macos-x86_64.zip, qjs-macos-arm64.zip
  • The qjs-windows-*.zip archives are built with zig against the UCRT and a recent MinGW-w64. MinGW-w64 toolchains older than 12 cannot link them (undefined references to pthread_cond_timedwait64 and clock_gettime64): use the qjs-windows-*-mingw.zip archives (msvcrt) instead.

  • Every archive now contains VERSION and the QuickJS LICENSE.

Build

  • CMake 3.20 or later is required.
  • CONFIG_BIGNUM is no longer defined for the users of the qjs target.
  • Cross-compiling the tools requires -DQJSC_EXECUTABLE=<host qjsc>.

2023-04-28 Version 6.0.0, @NickNaso

Notable changes

  • Update QuickJS to version 2022-03-07.
  • Fixed error build for Windows.

Commits

  • [b28783c9be] - Merge pull request #14 from gengjiawen/feat/bump (Nicola Del Gobbo)
  • [c7cf621319] - update README (Jiawen Geng)
  • [720973720f] - Update quickjs-build.yml (Jiawen Geng)
  • [bc86489e59] - fix: windows (gengjiawen)
  • [fc4f6fc14b] - feat: sync quickjs to 20220307 (gengjiawen)

2021-08-25 Version 5.3.0, @NickNaso

Notable changes

  • Added linux arm64 build.
  • Removed ubuntu 16.04 from CI.
  • Some minor fixes.

Commits

  • [8b10f47212] - Fixed documentation. (NickNaso)
  • [316368db2e] - Removed ubuntu 16.04 from CI. (NickNaso)
  • [e0a280c34f] - Merge pull request #10 from gengjiawen/arm64 (Nicola Del Gobbo)
  • [6551f61377] - feat: add linux arm64 build (Jiawen Geng)

2021-04-12 Version 5.2.0, @NickNaso

Notable changes

  • Added executable for run-test262.
  • Auto source generation.

Commits

  • [105860f2d1] - Some little fixes on documentations. (NickNaso)
  • [3788bef240] - Create LICENSE (Nicola Del Gobbo)
  • [fd7ca724ae] - Merge pull request #8 from gengjiawen/feat/test-262 (Nicola Del Gobbo)
  • [6614794560] - Merge pull request #7 from gengjiawen/feature/atuo (Nicola Del Gobbo)

2021-04-10 Version 5.1.0, @NickNaso

Notable changes

  • Added executable for quickjs and qjsc.

Commits

  • [0b46a3f067] - Prepare new release 5.1.0. (NickNaso)
  • [c9ab43c489] - Merge pull request #6 from gengjiawen/feat/binary (Nicola Del Gobbo)
  • [97fe3599bf] - use mingw on windows (Jiawen Geng)
  • [c6719fecd5] - feat: add quickjs and qjsc (Jiawen Geng)

2021-03-28 Version 5.0.0, @NickNaso

Notable changes

  • Fixed the build on *nix systems.
  • QuickJS version 2021-03-27.

QuickJS changes:

  • Faster Array.prototype.push and Array.prototype.unshift.
  • Added JS_UpdateStackTop().
  • Fixed Windows console.
  • Misc bug fixes.

Commits

  • [222c1964d2] - Prepare release for version 2021-03-27. (Nicola Del Gobbo)
  • [db6da63495] - Fixed build on linux. (Nicola Del Gobbo)
  • [c04a298c35] - Prepare new version 2021-03-27. (NickNaso)

2020-11-08 Version 4.0.0, @NickNaso

Notable changes

  • QuickJS version 2020-11-08.

QuickJS changes

  • Improved function parameter initializers.
  • Added std.setenv(), std.unsetenv() and std.getenviron().
  • Added JS_EvalThis().
  • Misc bug fixes.

Commits

  • [693ec349bc] - Prepare new version 2020-11-08. (NickNaso)

2020-09-10 Version 3.0.0, @NickNaso

Notable changes

  • Update the assets for the release only when the release has been published.
  • QuickJS version 2020-09-06.

QuickJS changes

  • Added logical assignment operators.
  • Added IsHTMLDDA support.
  • Faster for-of loops.
  • os.Worker now takes a module filename as parameter.
  • qjsc: added -D option to compile dynamically loaded modules or workers.
  • Misc bug fixes.

Commits

  • [305934fc7e] - Prepare new version 2020-09-06. (NickNaso)
  • [46a395c6ad] - Update quickjs-build.yml (Nicola Del Gobbo)

2020-09-04 Version 2.0.0, @NickNaso

Notable changes

  • QuickJS version 2020-07-05.

QuickJS changes

  • Modified JS_GetPrototype() to return a live value.
  • REPL: support unicode characters larger than 16 bits.
  • Added os.Worker.
  • Improved object serialization.
  • Added std.parseExtJSON.
  • Misc bug fixes.

Commits

  • [3f68062b99] - Prepare new version 2020-07-05. (NickNaso)

2020-06-08 Version 1.0.0, @NickNaso

Notable changes

  • Initial implementation for the project.
  • QuickJS version 2020-07-05.

Commits

  • [b25571e2e6] - Added changelog. (NickNaso)
  • [a1c5a374d2] - Added code of conduct. (NickNaso)
  • [59738019be] - Remove unused parameters. (NickNaso)
  • [c96ed22f3f] - Added buil instructions for unix-like systems. (NickNaso)
  • [ba204590fa] - Added references section. (NickNaso)
  • [9a7344fbe5] - Added build instruction for Windows. (NickNaso)
  • [cb575c3d52] - Excluded build folder. (NickNaso)
  • [ed3ec16353] - Base instruction to build quickjs. (NickNaso)
  • [56e0695c0b] - Merge branch 'master' of https://github.com/napi-bindings/quickjs-build (NickNaso)
  • [568d0054c8] - Some format sugar. (NickNaso)
  • [e3c3f93b99] - Update README.md (Nicola Del Gobbo)
  • [2c240fbac6] - Added introduction on readme. (NickNaso)
  • [2b75403d2b] - Added badges. (NickNaso)
  • [a2b771e731] - Handle release event. (NickNaso)
  • [17b872447a] - Fixed cflags for windows. (NickNaso)
  • [4a4539f0f9] - Added cflag for windows. (NickNaso)
  • [ad65bbbf3a] - Remove unnecessary commands. (NickNaso)
  • [c03f57309b] - Fixed artifact name on macOS. (NickNaso)
  • [d754d944d3] - Fixed artifacts. (NickNaso)
  • [f50c74ab7d] - Fixed typo. (NickNaso)
  • [97d4081a0c] - Print artifacts. (NickNaso)
  • [4cf28567a7] - Fixed compiler options. (NickNaso)
  • [279620809a] - Fixed configurations. (NickNaso)
  • [98a8f91de8] - Parametric value for compiler. (NickNaso)
  • [88383ad863] - Comment for unused parameters. (NickNaso)
  • [586b97de5e] - Fixed path compiler. (NickNaso)
  • [c3c1ab64f7] - Fixed path. (NickNaso)
  • [4e634e4f81] - Fixed path. (NickNaso)
  • [a3c74cdfb8] - Fixed compiler installartion for windows. (NickNaso)
  • [d0a67ef816] - List compiler folder. (NickNaso)
  • [6a13e6d0dd] - List root folders. (NickNaso)
  • [bf5865b896] - Fixed cmake options. (NickNaso)
  • [ede84d97d5] - Added cmake options. (NickNaso)
  • [9c01856429] - Extract compiler. (NickNaso)
  • [9fdff3ef87] - Remove build filder. (NickNaso)
  • [f2aa910713] - Install dependencies for windows. (NickNaso)
  • [07fa5a545f] - Install windows depencencies. (NickNaso)
  • [391c51a1e0] - Install dependencies on windows. (NickNaso)
  • [cebb8a2f8b] - Install dependencies for windows. (NickNaso)
  • [c85dfe9e77] - Install dependencies on windows. (NickNaso)
  • [fc9b365a8e] - Install dependencies on Windows. (NickNaso)
  • [ef53415ff6] - Install dependencies on windows. (NickNaso)
  • [86469b3b15] - Install windows dependencies. (NickNaso)
  • [568fd88755] - Install Windows dependencies. (NickNaso)
  • [345b03ae35] - Install windows dependencies. (NickNaso)
  • [6c6494ed59] - Install Windows dependencies. (NickNaso)
  • [a07b8e4540] - Install depencendies for WIndows. (NickNaso)
  • [afe92477ed] - Re enable windows on matrix. (NickNaso)
  • [3092849294] - Remove unnecessary steps. (NickNaso)
  • [84c9159870] - Remove windows from matrix (NickNaso)
  • [34049bf0cf] - Remove unnecessary folders. (NickNaso)
  • [24ea136acf] - Cleanup. (NickNaso)
  • [3b3680bfb4] - Cleanup. (NickNaso)
  • [5162fb2908] - Added upload artifacts. (NickNaso)
  • [84e1c5f2d8] - Change working diorectory on prepare artifacts. (NickNaso)
  • [98e3e24159] - Prepare artifacts. (NickNaso)
  • [bfaf01dc51] - Added script to configure, to build and to prepare. (NickNaso)
  • [5b6c19c44f] - Install dependecies for macOS. (NickNaso)
  • [159f61a954] - Install dependencies on Windows. (NickNaso)
  • [a2fc3018ef] - Install dependecies for Linux. (NickNaso)
  • [521f4ee63f] - Scaffolding to handle the dependencies installation. (NickNaso)
  • [21f2d7466b] - Ognore .vscode and .idea folders. (NickNaso)
  • [6bbda2152b] - Update quickjs-build.yml (Nicola Del Gobbo)
  • [889ebffe4f] - Update quickjs-build.yml (Nicola Del Gobbo)
  • [376b7ee533] - Update quickjs-build.yml (Nicola Del Gobbo)
  • [fd40c2b0ea] - Update README.md (Nicola Del Gobbo)
  • [eb1e0edf86] - Update README.md (Nicola Del Gobbo)
  • [df2799b9ab] - Update quickjs-build.yml (Nicola Del Gobbo)
  • [d5d122297f] - Update quickjs-build.yml (Nicola Del Gobbo)
  • [58bf4b7d14] - Update quickjs-build.yml (Nicola Del Gobbo)
  • [876cebe69e] - Rename c-cpp.yml to quickjs-build.yml (Nicola Del Gobbo)
  • [378649639f] - Update c-cpp.yml (Nicola Del Gobbo)
  • [b01ba4b8d2] - Update c-cpp.yml (Nicola Del Gobbo)
  • [65f4a05f0b] - Update c-cpp.yml (Nicola Del Gobbo)
  • [526444b3f9] - Initial set for build the project. (Nicola Del Gobbo)
  • [ea73f2c78e] - initial commit for the project. (NickNaso)
  • [a6cb06817f] - Initial commit (Nicola Del Gobbo)