https://github.com/lynx-family/primjs (or https://bellard.org/quickjs/ https://github.com/quickjs-ng/quickjs) could be an alternative to duktape. It's more constantly maintained and supports ES2019.