Introducing QuickJS engine as alternative JS engine. #698
Open
Description
opened on Mar 6, 2024
QuickJS will be added as an alternative JS engine. The goal is to achieve a drop-in replacement level support for QuickJS.
QuickJS is supported and developed by a wider community, it has almost full ES spec coverage.
QuickJS will be added in stages:
core modules:
-
crypto module
-
WebCrypto module
-
querystring module
-
xml module
The following items will not be ported:
njs-specific API: njs.dump(), njs.on(), console.dump().
js_preload_object directive for http and stream.
outdate modules loading: require().
NJS engine will stay a default JS engine for a while for backward compatibility (at least until QuickJS version is mature enough).
Feel free to ask questions and share you feedback.
Activity