Tag: Quickjs

1 entry found

NGINX njs now supports QuickJS: Goodbye LUA, hello modern JavaScript

NGINX njs now supports QuickJS: Goodbye LUA, hello modern JavaScript

6 min read

Finally: Modern JavaScript in NGINX (and we can forget about LUA)

When I read the NGINX announcement about QuickJS support in njs, I couldn’t help but smile. Finally I can stop struggling with LUA.

As someone who has configured more NGINX servers than I can remember (from my time at Arrakis to now at Carto), I’ve always been annoyed by the limitation of having to use LUA for complex logic in NGINX. It’s not that LUA is bad, but… why learn another language when I already master JavaScript?