QuickJS is a small and embeddable JavaScript engine. It aims to support the latest ECMAScript specification. QuickJS NG is a fork of the original QuickJS project by Fabrice Bellard and Charlie Gordon, after it went dormant, with the intent of reigniting its development.
After a couple of months of development version 0.9.0 is out. A few notable changes:
qjs
will now exit on unhandled rejections: this aligns the reference interpreter with Node, Deno and Bun- Tons of new C APIs:
JS_IsDate
,JS_IsRegExp
,JS_IsMap
,JS_IsPromise
and more, check quickjs.h QUICKJS_NG
is now defined so applications wanting to support both the old version and NG have an easy way to tell them appart- Inline caches have been removed, see the interesting conversation here
- Amalgamated builds, see quickjs-amalgam.zip in the release artifacts, just a C file and 2 header files!
- Meson build system support
See the full changelog here.